mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 21:52:30 -04:00
feat(ui): Remove is_tombstoned filter from sliding sync.
Simplified sliding sync no longer has the `is_tombstoned` filter. This patch removes it.
This commit is contained in:
@@ -360,7 +360,6 @@ impl NotificationClient {
|
||||
.required_state(required_state.clone())
|
||||
.filters(Some(assign!(SyncRequestListFilters::default(), {
|
||||
is_invite: Some(true),
|
||||
is_tombstoned: Some(false),
|
||||
not_room_types: vec!["m.space".to_owned()],
|
||||
})))
|
||||
.sort(vec!["by_recency".to_owned(), "by_name".to_owned()]);
|
||||
|
||||
@@ -163,7 +163,6 @@ impl RoomListService {
|
||||
// If unset, both invited and joined rooms are returned. If false, no invited rooms are
|
||||
// returned. If true, only invited rooms are returned.
|
||||
is_invite: None,
|
||||
is_tombstoned: Some(false),
|
||||
not_room_types: vec!["m.space".to_owned()],
|
||||
})))
|
||||
.bump_event_types(&[
|
||||
|
||||
@@ -264,7 +264,6 @@ async fn test_notification_client_sliding_sync() {
|
||||
],
|
||||
"filters": {
|
||||
"is_invite": true,
|
||||
"is_tombstoned": false,
|
||||
"not_room_types": ["m.space"],
|
||||
},
|
||||
"sort": ["by_recency", "by_name"],
|
||||
|
||||
@@ -331,7 +331,6 @@ async fn test_sync_all_states() -> Result<(), Error> {
|
||||
],
|
||||
"include_heroes": true,
|
||||
"filters": {
|
||||
"is_tombstoned": false,
|
||||
"not_room_types": ["m.space"],
|
||||
},
|
||||
"bump_event_types": [
|
||||
|
||||
Reference in New Issue
Block a user