Move a couple of callers to helpers.IsServerCurrentlyInRoom over to the query API (#1912)

This commit is contained in:
Neil Alexander 2021-07-09 17:49:59 +01:00 committed by GitHub
parent 1ed732cc78
commit acec6fa979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 5 deletions

View file

@ -93,6 +93,7 @@ func (r *RoomserverInternalAPI) SetFederationSenderAPI(fsAPI fsAPI.FederationSen
FSAPI: r.fsAPI,
RSAPI: r,
Inputer: r.Inputer,
Queryer: r.Queryer,
}
r.Peeker = &perform.Peeker{
ServerName: r.Cfg.Matrix.ServerName,