Skip to content

Commit

Permalink
Enable all sliding sync extensions
Browse files Browse the repository at this point in the history
Robrix now needs all extensions, most recently for typing notices.
  • Loading branch information
kevinaboos committed Sep 18, 2024
1 parent a0d2b1e commit 0762ad5
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0762ad5

Please sign in to comment.