doc(sdk): Fix syntax error.

This commit is contained in:
Ivan Enderlin
2023-05-17 16:34:12 +02:00
parent f8e12f6aaf
commit ddc8d915cb

View File

@@ -427,7 +427,7 @@ let full_sync_list = SlidingSyncList::builder(&full_sync_list_name)
.sort(vec!["by_recency".to_owned()]) // ordered by most recent
.required_state(vec![
(StateEventType::RoomEncryption, "".to_owned())
]) // only want to know if the room is encrypted
]); // only want to know if the room is encrypted
let active_list = SlidingSyncList::builder(&active_list_name) // the active window
.sync_mode(SlidingSyncMode::new_selective()) // sync up the specific range only