mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-09-21 04:13:41 -05:00
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"
}
}
```
|
||
|---|---|---|
| .. | ||
| account_data.go | ||
| admin.go | ||
| admin_whois.go | ||
| aliases.go | ||
| auth_fallback.go | ||
| auth_fallback_test.go | ||
| capabilities.go | ||
| createroom.go | ||
| deactivate.go | ||
| device.go | ||
| directory.go | ||
| directory_public.go | ||
| directory_public_test.go | ||
| joined_rooms.go | ||
| joinroom.go | ||
| joinroom_test.go | ||
| key_backup.go | ||
| key_crosssigning.go | ||
| keys.go | ||
| leaveroom.go | ||
| login.go | ||
| login_test.go | ||
| logout.go | ||
| membership.go | ||
| notification.go | ||
| openid.go | ||
| password.go | ||
| peekroom.go | ||
| presence.go | ||
| profile.go | ||
| pusher.go | ||
| pushrules.go | ||
| receipt.go | ||
| redaction.go | ||
| register.go | ||
| register_secret.go | ||
| register_secret_test.go | ||
| register_test.go | ||
| room_hierarchy.go | ||
| room_tagging.go | ||
| routing.go | ||
| sendevent.go | ||
| sendevent_test.go | ||
| sendtodevice.go | ||
| sendtyping.go | ||
| server_notices.go | ||
| server_notices_test.go | ||
| state.go | ||
| state_test.go | ||
| thirdparty.go | ||
| threepid.go | ||
| upgrade_room.go | ||
| userdirectory.go | ||
| voip.go | ||
| whoami.go | ||