JupiterBroadcasting / matrix

Issue tracking for Jupiter Broadcasting's Matrix server
https://linuxunplugged.com/matrixinfo
6 stars 1 forks source link

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

Open xPMo opened 2 years ago

xPMo commented 2 years ago

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"
    }
}
noblepayne commented 2 years ago

@xPMo Thank you for the tip! That sounds like a nice thing to add, we'll look into it.