Voice call events lead to unread counts for rooms
When someone tries to call you via a DM, the events lead to notifications for the DM room, but when you open it, there is nothing to see because Fractal ignores/filters out/does not support call events.
Steps to reproduce
- Open Fractal
- Ensure no room is being viewed by pressing Escape
- Have someone call you using Element Android via a DM
- See how the unread count increases to 3 and finally 4 when the person hangs up or the call times out
- Open the DM room and see nothing
Information
-
This bug is reproducible from the latest nightly build - Fractal Version: 7.rc-5b38895c
- OS Version: Debian GNU/Linux 12 (trixie/sid)
- Installation Source: GNOME Nightly
- Homeserver: Synapse-based
Events that were sent:
{
"content": {
"call_id": "9fbed7f7-dca4-47e6-a7c9-d9158838c412",
"candidates": [...],
"party_id":"[...]",
"version": "1"
},
"event_id": "[...]",
"origin_server_ts": 1713467850473,
"room_id": "[...]",
"sender": "[...]",
"type": "m.call.candidates",
"unsigned": {}
}
{
"content": {
"call_id": "9fbed7f7-dca4-47e6-a7c9-d9158838c412",
"candidates": [...],
"party_id": "[...]",
"version": "1"
},
"event_id": "[...]",
"origin_server_ts": 1713467851040,
"room_id": "[...]",
"sender": "[...]",
"type": "m.call.candidates",
"unsigned": {}
}
{
"content": {
"call_id": "9fbed7f7-dca4-47e6-a7c9-d9158838c412",
"party_id": "[...]",
"reason": "user_hangup",
"version": "1"
},
"event_id": "[...]",
"origin_server_ts": 1713467855609,
"room_id": "[...]",
"sender": "[...]",
"type": "m.call.hangup",
"unsigned": {}
}
I have no idea why the unread count goes to 4, while I only see three events.
Edited by Paul van Tilburg