We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2cc31 commit b4d6cb9Copy full SHA for b4d6cb9
crates/matrix-sdk/src/client/builder.rs
@@ -478,9 +478,8 @@ impl ClientBuilder {
478
// requests to be sent directly to the homeserver.
479
tracing::info!("Simplified MSC3575 is enabled, ignoring any sliding sync proxy.");
480
sliding_sync_proxy = None;
481
- } else {
+ } else if let Some(well_known) = well_known {
482
// Otherwise, if a proxy wasn't set, use the one discovered from the well-known.
483
- if let Some(well_known) = well_known {
484
if sliding_sync_proxy.is_none() {
485
sliding_sync_proxy =
486
well_known.sliding_sync_proxy.and_then(|p| Url::parse(&p.url).ok())
0 commit comments