summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-07-22 14:52:34 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2023-07-22 15:08:50 -0400
commit852edb4affbe89c7b2772fe30392dfdec27b2b94 (patch)
tree6be3c998905d5df566ba7216b48de11b965a335a /resources/qml
parentTranslated using Weblate (Chinese (Simplified)) (diff)
downloadnheko-852edb4affbe89c7b2772fe30392dfdec27b2b94.tar.xz
Add mark as read entry to the roomlist right-click menu
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/RoomList.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/RoomList.qml b/resources/qml/RoomList.qml
index 92e7ef6d..20e5b95b 100644
--- a/resources/qml/RoomList.qml
+++ b/resources/qml/RoomList.qml
@@ -727,6 +727,11 @@ Page {
                 }
             }
             Platform.MenuItem {
+                text: qsTr("Mark as read")
+                onTriggered: Rooms.getRoomById(roomContextMenu.roomid).markRoomAsRead()
+            }
+
+            Platform.MenuItem {
                 text: qsTr("Room settings")
 
                 onTriggered: TimelineManager.openRoomSettings(roomContextMenu.roomid)