change(notification_client): request the org.matrix.msc3401.call.member state events resolving notification payloads

- this will be used to check whether a room still has an active call (`has_active_room_call`) before showing the ringing screen
This commit is contained in:
Stefan Ceriu
2025-04-30 11:55:46 +03:00
committed by Stefan Ceriu
parent ef4cb79cde
commit 8e19a5eb33
2 changed files with 3 additions and 0 deletions

View File

@@ -411,6 +411,7 @@ impl NotificationClient {
(StateEventType::RoomCanonicalAlias, "".to_owned()),
(StateEventType::RoomName, "".to_owned()),
(StateEventType::RoomPowerLevels, "".to_owned()),
(StateEventType::CallMember, "*".to_owned()),
];
let invites = SlidingSyncList::builder("invites")

View File

@@ -264,6 +264,7 @@ async fn test_notification_client_sliding_sync() {
["m.room.canonical_alias", ""],
["m.room.name", ""],
["m.room.power_levels", ""],
["org.matrix.msc3401.call.member", "*"],
],
"filters": {
"is_invite": true,
@@ -281,6 +282,7 @@ async fn test_notification_client_sliding_sync() {
["m.room.canonical_alias", ""],
["m.room.name", ""],
["m.room.power_levels", ""],
["org.matrix.msc3401.call.member", "*"],
],
"timeline_limit": 16,
},