fix: Remove sliding sync proxy from .well-known/client response

This commit is contained in:
Ginger
2026-04-06 10:36:30 -04:00
parent 6155dd2726
commit 087d8b1016
+3 -3
View File
@@ -2,7 +2,7 @@ use axum::{Json, extract::State, response::IntoResponse};
use conduwuit::{Error, Result}; use conduwuit::{Error, Result};
use ruma::api::client::{ use ruma::api::client::{
discovery::{ discovery::{
discover_homeserver::{self, HomeserverInfo, SlidingSyncProxyInfo}, discover_homeserver::{self, HomeserverInfo},
discover_support::{self, Contact}, discover_support::{self, Contact},
}, },
error::ErrorKind, error::ErrorKind,
@@ -23,9 +23,9 @@ pub(crate) async fn well_known_client(
}; };
Ok(discover_homeserver::Response { Ok(discover_homeserver::Response {
homeserver: HomeserverInfo { base_url: client_url.clone() }, homeserver: HomeserverInfo { base_url: client_url },
identity_server: None, identity_server: None,
sliding_sync_proxy: Some(SlidingSyncProxyInfo { url: client_url }), sliding_sync_proxy: None,
tile_server: None, tile_server: None,
rtc_foci: services rtc_foci: services
.config .config