mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-09 22:42:58 +00:00
1c4ec67bb6
Adds the `org.matrix.msc3575.proxy` field (used for configuring sliding sync) to /.well-known/matrix/client when Dendrite is serving that endpoint and `well_known_sliding_sync_proxy` has been configured. ie. Config values of: ``` yaml global: well_known_client_name: https://example.com well_known_sliding_sync_proxy: https://syncv3.example.com ``` results in a /.well-known/matrix/client of: ``` json { "m.homeserver": { "base_url": "https://example.com" }, "org.matrix.msc3575.proxy": { "url": "https://syncv3.example.com" } } ``` If `well_known_sliding_sync_proxy` is not provided, the json provided by /.well-known/matrix/client does not include the proxy field. ie. ``` json { "m.homeserver": { "base_url": "https://example.com" } } ``` |
||
---|---|---|
.. | ||
config_address_test.go | ||
config_address.go | ||
config_appservice.go | ||
config_clientapi.go | ||
config_federationapi.go | ||
config_global.go | ||
config_jetstream.go | ||
config_keyserver.go | ||
config_mediaapi.go | ||
config_mscs.go | ||
config_relayapi.go | ||
config_roomserver.go | ||
config_syncapi.go | ||
config_test.go | ||
config_userapi.go | ||
config.go |