matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.

Home Page:https://matrix-org.github.io/synapse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

roomDirectory advertissing to client?

Thatoo opened this issue · comments

Would it be possible to advertise a roomdirectory server to our clients app?
Of course, I have in mind to advertise the "matrixroom.info" server.
Could it be set in homeserver.yaml file or in /.well-known/matrix/client.json file?

AFAIK this is a feature built-in to Element Web. Per https://github.com/vector-im/element-web/blob/develop/docs/config.md#default-settings it looks like you can set the room_directory config option to include matrixroom.info. If you're hosting your own copy of Element web you should be able to set this in its config.json.

Having said that, I'm slightly surprised that element-web needs this to be advertised or set; I'd've thought it would automatically show you your homeserver's public room directory.

We're not planning to make any changes in Synapse here. For any other questions, please ask the Element-web team, either at vector-im/element-web or https://matrix.to/#/#element-web:matrix.org.