Skip to content

Commit

Permalink
Merge branch 'main' into adaptive-view
Browse files Browse the repository at this point in the history
  • Loading branch information
joulei committed Sep 20, 2024
2 parents 45fec4a + 0762ad5 commit c4df0fc
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 c4df0fc

Please sign in to comment.