Add our server to the directory response

This commit is contained in:
Andrew Morgan 2019-07-26 14:35:12 +01:00
parent 7e861b60fb
commit 78c928a0cb

View file

@ -62,7 +62,7 @@ func RoomAliasToID(
// TODO: List servers that are aware of this room alias
resp = gomatrixserverlib.RespDirectory{
RoomID: queryRes.RoomID,
Servers: []gomatrixserverlib.ServerName{},
Servers: []gomatrixserverlib.ServerName{cfg.Matrix.ServerName},
}
} else {
// If no alias was found, return an error