From 0762ad547c9ddbc3c46c9bd70b4981bad0111621 Mon Sep 17 00:00:00 2001 From: Kevin Boos Date: Wed, 18 Sep 2024 18:03:17 +0200 Subject: [PATCH] Enable all sliding sync extensions Robrix now needs all extensions, most recently for typing notices. --- src/sliding_sync.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/sliding_sync.rs b/src/sliding_sync.rs index 27e7d47b..e888e7d8 100644 --- a/src/sliding_sync.rs +++ b/src/sliding_sync.rs @@ -748,17 +748,7 @@ async fn async_main_loop() -> Result<()> { let sliding_sync = client .sliding_sync("main-sync")? .sliding_sync_proxy("https://slidingsync.lab.matrix.org".try_into()?) - // .with_all_extensions() - // we enable the account-data extension - .with_account_data_extension( - assign!(AccountData::default(), { enabled: Some(true) }), - ) - // and the e2ee extension - .with_e2ee_extension(assign!(E2EE::default(), { enabled: Some(true) })) - // and the to-device extension - .with_to_device_extension( - assign!(ToDevice::default(), { enabled: Some(true) }), - ) + .with_all_extensions() // .add_cached_list(visible_room_list).await? .add_list(visible_room_list) .build()