mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-11 01:13:14 -04:00
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:
committed by
Stefan Ceriu
parent
ef4cb79cde
commit
8e19a5eb33
@@ -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")
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user