Skip to content

Commit

Permalink
Tested working, just had to disable simplified_sliding_sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos committed Aug 1, 2024
1 parent db0ca48 commit 0cd5558
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ async fn login(cli: Cli) -> Result<(Client, Option<String>)> {
.map(|h| h.as_str())
.unwrap_or("https://matrix-client.matrix.org/");
// .unwrap_or("https://matrix.org/");
let mut builder = Client::builder().homeserver_url(homeserver_url);
let mut builder = Client::builder()
.homeserver_url(homeserver_url)
// The matrix homeserver's sliding sync proxy doesn't support Simplified MSC3575.
.simplified_sliding_sync(false);

if let Some(proxy) = cli.proxy {
builder = builder.proxy(proxy);
Expand Down

0 comments on commit 0cd5558

Please sign in to comment.