diff options
Diffstat (limited to 'federationapi/routing/query.go')
-rw-r--r-- | federationapi/routing/query.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/query.go b/federationapi/routing/query.go index 316c61a1..e6dc5260 100644 --- a/federationapi/routing/query.go +++ b/federationapi/routing/query.go @@ -83,7 +83,7 @@ func RoomAliasToID( } } } else { - resp, err = federation.LookupRoomAlias(httpReq.Context(), domain, roomAlias) + resp, err = federation.LookupRoomAlias(httpReq.Context(), domain, cfg.Matrix.ServerName, roomAlias) if err != nil { switch x := err.(type) { case gomatrix.HTTPError: |