From 2ada74d2be6a357318a1f5406b3fdd6aba51500d Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Fri, 22 Dec 2023 17:30:07 +0100 Subject: [PATCH] notify even in current room --- ui/view-main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/view-main.go b/ui/view-main.go index ed92e3a..6d55b5b 100644 --- a/ui/view-main.go +++ b/ui/view-main.go @@ -415,7 +415,7 @@ func (view *MainView) NotifyMessage(room *rooms.Room, message ifc.Message, shoul // The message is not in the current room, show new message status in room list. room.AddUnread(message.ID(), should.Notify, should.Highlight) } else { - view.matrix.MarkRead(room.ID, message.ID()) + room.AddUnread(message.ID(), should.Notify, should.Highlight) } if should.Notify && !recentlyFocused && !view.config.Preferences.DisableNotifications {