From 18f863d70a77c783bfeadfe50da48159111b95fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Fri, 27 Sep 2024 20:22:06 +0200 Subject: [PATCH] room: Set bold highlight even if there are no notifications New regression. --- src/session/model/room/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session/model/room/mod.rs b/src/session/model/room/mod.rs index 8779711f..092e0786 100644 --- a/src/session/model/room/mod.rs +++ b/src/session/model/room/mod.rs @@ -1265,7 +1265,7 @@ impl Room { if !self.is_read() { if counts.highlight_count > 0 { highlight = HighlightFlags::all(); - } else if counts.notification_count > 0 { + } else { highlight = HighlightFlags::BOLD; } imp.set_notification_count(counts.notification_count);