-
-
Notifications
You must be signed in to change notification settings - Fork 489
Closed
Description
Describe the bug
Rooms with notification mode set to "Mentions and Keywords" incorrectly show unread badges and counts for all messages, not just highlights (mentions).
This is similar to #375 / #2582 (muted rooms showing badges), but affects the MentionsAndKeywords notification type.
Reproduction
- Set a room to "Mentions and Keywords" notification mode
- Receive regular messages (not mentions) in that room
- Observe that the room shows an unread badge with the total message count
Expected behavior
- Badge should only appear when there are actual highlights (mentions/keywords)
- Count should show highlight count, not total unread count
Root cause
In src/app/utils/room.ts, the getUnreadInfos() function only filters out Mute rooms:
if (getNotificationType(mx, room.roomId) === NotificationType.Mute) return unread;For MentionsAndKeywords rooms, it still returns the full total count via getUnreadInfo() instead of filtering to show only highlights.
Platform and versions
- Cinny version: dev (latest)
- Browser: All
- OS: All
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels