fix(@communities): copy to clipboard community

fixes #4441
This commit is contained in:
Anthony Laibe 2022-01-13 14:47:55 +01:00 committed by Sale Djenic
parent 46211c38ee
commit b43b073f5f
2 changed files with 1 additions and 3 deletions

View File

@ -55,7 +55,6 @@ Column {
icon.name: "copy"
iconButton.onClicked: {
let link = `${Constants.communityLinkPrefix}${root.community.id}`
//chatsModel.copyToClipboard(link)
root.copyToClipboard(link);
tooltip.visible = !tooltip.visible
}

View File

@ -99,8 +99,7 @@ QtObject {
}
function copyToClipboard(text) {
// Not Refactored Yet
// chatsModelInst.copyToClipboard(text);
globalUtils.copyToClipboard(text)
}
function deleteMessage(messageId) {