element-hq / element-hq/element-ios
Highlighted notifications are broken
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
I've noticed that missed message notifications appear unhighlighted even if I received bing messages. This bug applies for DM and non DM rooms.

The web app displays highlighted notifications though:

I debug a bit and the`roomSync.unreadNotifications` values in `[MXRoomSummary handleJoinedRoomSync]` are quite unexpected. I sent 2 messages with @gilutsu_test03 for exemple and the `highlighted` count is still 0:
Contributor guide
Research direction
Start in MXRoomSummary.handleJoinedRoomSync and inspect how roomSync.unreadNotifications supplies the highlighted count. Reproduce the case with missed messages in DM and non-DM rooms, then verify that notifications containing mentions are highlighted consistently with the web app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100