mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 06:58:27 +00:00
Add our server to the directory response
This commit is contained in:
parent
7e861b60fb
commit
78c928a0cb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue