Skip to content

Missing /.well-known/matrix/client #11

@xPMo

Description

@xPMo

Currently, https://jupiterbroadcasting.com/.well-known/matrix/server is used for the server-server protocol, enabling federation.

However, /.well-known/matrix/client is used by clients when given a room or user to discover what server address a user or room lives on. This would allow users to login with just their MXID isntead of having to provide https://colony.jupiterbroadcasting.com. This might also be responsible for a few other issues (Chris's DM issue, room previews not working), but I'm not entirely sure.

Here is https://matrix.org/.well-known/matrix/client for comparison:

{
    "m.homeserver": {
        "base_url": "https://matrix-client.matrix.org"
    },
    "m.identity_server": {
        "base_url": "https://vector.im"
    }
}

I believe ours should be

{
    "m.homeserver": {
        "base_url": "https://colony.jupiterbroadcasting.com"
    },
    "m.identity_server": {
        "base_url": "https://vector.im"
    }
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions