dendrite/clientapi/routing
devonh 1c4ec67bb6
Add configuration option for sliding sync when hosting /.well-known/matrix/client (#3189)
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"
    }
}
```
2023-08-24 21:08:40 +00:00
..
account_data.go
admin.go
admin_whois.go
aliases.go
auth_fallback.go
auth_fallback_test.go
capabilities.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
createroom.go Add config key for default room version (#3171) 2023-08-08 14:20:05 +01:00
deactivate.go
device.go
directory.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
directory_public.go
directory_public_test.go
joined_rooms.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
joinroom.go
joinroom_test.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
key_backup.go
key_crosssigning.go
keys.go
leaveroom.go
login.go
login_test.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
logout.go
membership.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
notification.go
openid.go
password.go
peekroom.go
presence.go
profile.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
pusher.go
pushrules.go
receipt.go
redaction.go Use *spec.SenderID for QuerySenderIDForUser (#3164) 2023-08-02 11:12:14 +01:00
register.go
register_secret.go
register_secret_test.go
register_test.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
room_hierarchy.go de-MSC-ifying space summaries (MSC2946) (#3134) 2023-07-20 15:06:05 +01:00
room_tagging.go
routing.go Add configuration option for sliding sync when hosting /.well-known/matrix/client (#3189) 2023-08-24 21:08:40 +00:00
sendevent.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
sendevent_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
sendtodevice.go
sendtyping.go
server_notices.go [pseudoID] More pseudo ID fixes (#3167) 2023-08-15 12:37:04 +01:00
server_notices_test.go
state.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
state_test.go [pseudoIDs] More pseudo ID fixes - Part 2 (#3181) 2023-08-24 16:43:51 +01:00
thirdparty.go
threepid.go
upgrade_room.go
userdirectory.go
voip.go
whoami.go