Add support for copying & deleting multiple messages at once

BUG: 496458
This commit is contained in:
Azhar Momin
2026-02-11 18:30:09 +05:30
committed by Joshua Goins
parent 0f634ff795
commit f5d726989f
10 changed files with 357 additions and 15 deletions

View File

@@ -407,6 +407,13 @@ KirigamiComponents.ConvergentContextMenu {
onTriggered: pinned ? root.room.unpinEvent(root.eventId) : root.room.pinEvent(root.eventId)
}
Kirigami.Action {
visible: root.messageComponentType !== MessageComponentType.Other
text: root.room.selectedMessageCount > 0 && root.room.isMessageSelected(root.eventId) ? i18nc("@action:inmenu", "Deselect Message") : i18nc("@action:inmenu", "Select Message")
icon.name: "edit-select-all-symbolic"
onTriggered: root.room.toggleMessageSelection(root.eventId)
}
Kirigami.Action {
separator: true
visible: viewSourceAction.visible