diff --git a/matrixgw_backend/src/controllers/matrix/matrix_room_controller.rs b/matrixgw_backend/src/controllers/matrix/matrix_room_controller.rs
index 0751f92..1a64948 100644
--- a/matrixgw_backend/src/controllers/matrix/matrix_room_controller.rs
+++ b/matrixgw_backend/src/controllers/matrix/matrix_room_controller.rs
@@ -51,7 +51,7 @@ impl APIRoomInfo {
avatar: r.avatar_url(),
is_space: r.is_space(),
parents: parent_spaces,
- number_unread_messages: r.num_unread_messages(),
+ number_unread_messages: r.unread_notification_counts().notification_count,
latest_event: get_events(r, 1, None).await?.messages.into_iter().next(),
})
}
diff --git a/matrixgw_frontend/src/widgets/messages/RoomSelector.tsx b/matrixgw_frontend/src/widgets/messages/RoomSelector.tsx
index cbdba06..c908696 100644
--- a/matrixgw_frontend/src/widgets/messages/RoomSelector.tsx
+++ b/matrixgw_frontend/src/widgets/messages/RoomSelector.tsx
@@ -60,7 +60,18 @@ export function RoomSelector(p: {
-
+ 0 ? "bold" : undefined,
+ }}
+ >
+ {roomName(user.info, r, p.users)}
+
+ }
+ />
))}