Add menu items to copy matrix.to links for users and messages

BUG: 456637
This commit is contained in:
Tobias Fella
2022-11-27 19:50:29 +01:00
parent d0dd86e6e8
commit 1366158b45
3 changed files with 18 additions and 0 deletions

View File

@@ -76,6 +76,13 @@ Loader {
width: Kirigami.Units.gridUnit * 25
});
}
},
Kirigami.Action {
text: i18n("Copy Link")
icon.name: "edit-copy"
onTriggered: {
Clipboard.saveText("https://matrix.to/#/" + currentRoom.id + "/" + loadRoot.eventId)
}
}
]