Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sliding_sync(state): use * for m.call.member when requesting stat…
Browse files Browse the repository at this point in the history
…e through sliding sync

- introduced in #4159 with an empty string
- call members use custom `state_key`s and as such not specifying the sentinel won't match them and state won't be returned
stefanceriu committed Oct 24, 2024
1 parent 31e9600 commit 8d0726c
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/matrix-sdk-ui/src/room_list_service/mod.rs
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ const DEFAULT_REQUIRED_STATE: &[(StateEventType, &str)] = &[
(StateEventType::RoomTopic, ""),
(StateEventType::RoomCanonicalAlias, ""),
(StateEventType::RoomPowerLevels, ""),
(StateEventType::CallMember, ""),
(StateEventType::CallMember, "*"),
];

/// The default `required_state` constant value for sliding sync room
Original file line number Diff line number Diff line change
@@ -330,7 +330,7 @@ async fn test_sync_all_states() -> Result<(), Error> {
["m.room.topic", ""],
["m.room.canonical_alias", ""],
["m.room.power_levels", ""],
["org.matrix.msc3401.call.member", ""],
["org.matrix.msc3401.call.member", "*"],
],
"include_heroes": true,
"filters": {

0 comments on commit 8d0726c

Please sign in to comment.