From 171c1cf25bf4bfab5a8800a59c8a161fe7391ab5 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 22 Jun 2023 16:38:52 +0200 Subject: [PATCH] chore: fix documentation Signed-off-by: Benjamin Bouvier --- crates/matrix-sdk/src/sliding_sync/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/sliding_sync/README.md b/crates/matrix-sdk/src/sliding_sync/README.md index bb1103294..506aeb1c9 100644 --- a/crates/matrix-sdk/src/sliding_sync/README.md +++ b/crates/matrix-sdk/src/sliding_sync/README.md @@ -419,7 +419,7 @@ let active_list_name = "active-list".to_owned(); let sliding_sync_builder = client .sliding_sync("main-sync")? .sliding_sync_proxy(Url::parse("http://sliding-sync.example.org")?) // our proxy server - .with_common_extensions()?; // we want the e2ee and to-device enabled, please + .with_common_extensions(); // we want the e2ee and to-device enabled, please let full_sync_list = SlidingSyncList::builder(&full_sync_list_name) .sync_mode(SlidingSyncMode::Growing { batch_size: 50, maximum_number_of_rooms_to_fetch: Some(500) }) // sync up by growing the window