summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-07-28 14:50:13 +0000
committerGitHub <noreply@github.com>2023-07-28 14:50:13 +0000
commitb2b8945f22ce83540a16cfd8494b2adc1cfc1587 (patch)
tree0d12c242e48c182f3d93ccb02a59bc06180d8aa3 /resources
parentUpdate coeurl for fmt10 compatibility (diff)
parentAdd mark as read entry to the roomlist right-click menu (diff)
downloadnheko-b2b8945f22ce83540a16cfd8494b2adc1cfc1587.tar.xz
Merge pull request #1532 from Nheko-Reborn/issue1512
Add mark room as read option
Diffstat (limited to '')
-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)