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:
Ivan Enderlin
2024-07-17 15:11:01 +02:00
parent dc9b975fc0
commit 508176a2c7
4 changed files with 0 additions and 4 deletions

View File

@@ -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()]);

View File

@@ -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(&[

View File

@@ -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"],

View File

@@ -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": [