Browse Source

room: Set bold highlight even if there are no notifications

New regression.
fractal-9
Kévin Commaille 2 years ago
parent
commit
18f863d70a
No known key found for this signature in database
GPG Key ID: C971D9DBC9D678D
  1. 2
      src/session/model/room/mod.rs

2
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);

Loading…
Cancel
Save