mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +01:00
Revert "Remove support for MSC3575 (sliding sync)"
This reverts commit d87848b9a6.
This commit is contained in:
parent
bbd0439001
commit
dd705a2bb2
9 changed files with 954 additions and 7 deletions
|
|
@ -37,5 +37,14 @@ pub(crate) async fn client(_: Ar<client::Request>) -> Ra<client::Response> {
|
|||
Ra(client::Response {
|
||||
homeserver: client::HomeserverInfo::new(base_url.clone()),
|
||||
identity_server: None,
|
||||
sliding_sync_proxy: services()
|
||||
.globals
|
||||
.config
|
||||
.server_discovery
|
||||
.client
|
||||
.advertise_sliding_sync
|
||||
.then_some(client::SlidingSyncProxyInfo {
|
||||
url: base_url,
|
||||
}),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue