Discover endpoint
Client should get all addresses using only one query. Idea: a .well-known/twake/client endpoint with:
{
"t.matrix.server": {
"base_url": "https://matrix.example.com"
},
"t.server": {
"base_url": "https://tom.example.com"
},
"t.domain": "example.com"
}
or following Matrix spec:
{
"m.homeserver": {
"base_url": "https://matrix.example.com"
},
"m.identity_server": {
"base_url": "https://tom.example.com"
},
"t.server": {
"base_url": "https://tom.example.com"
}
}
Then later "m.identity_server" will point to the global identity server