Consider highlights when determining whether a room can be marked as read
BUG: 501080
This commit is contained in:
committed by
Tobias Fella
parent
ae24424a32
commit
ee4b1578b1
@@ -46,7 +46,7 @@ KirigamiComponents.ConvergentContextMenu {
|
|||||||
QQC2.Action {
|
QQC2.Action {
|
||||||
text: i18nc("@action:inmenu", "Mark as Read")
|
text: i18nc("@action:inmenu", "Mark as Read")
|
||||||
icon.name: "checkmark"
|
icon.name: "checkmark"
|
||||||
enabled: root.room.notificationCount > 0
|
enabled: root.room.notificationCount > 0 || root.room.highlightCount > 0
|
||||||
onTriggered: root.room.markAllMessagesAsRead()
|
onTriggered: root.room.markAllMessagesAsRead()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user