Consider highlights when determining whether a room can be marked as read

BUG: 501080
This commit is contained in:
Tobias Fella
2025-11-11 17:20:39 +01:00
committed by Tobias Fella
parent ae24424a32
commit ee4b1578b1

View File

@@ -46,7 +46,7 @@ KirigamiComponents.ConvergentContextMenu {
QQC2.Action {
text: i18nc("@action:inmenu", "Mark as Read")
icon.name: "checkmark"
enabled: root.room.notificationCount > 0
enabled: root.room.notificationCount > 0 || root.room.highlightCount > 0
onTriggered: root.room.markAllMessagesAsRead()
}