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 {