missing await on mjolnirManager.createNew

This commit is contained in:
jesopo 2022-09-12 09:27:52 +00:00 committed by gnuxie
parent ad6e787486
commit 67557047c5

View File

@ -63,7 +63,7 @@ export class MjolnirAppService {
}
})).room_id;
this.mjolnirManager.createNew(requestingUserId, managementRoomId, mjIntent.matrixClient);
await this.mjolnirManager.createNew(requestingUserId, managementRoomId, mjIntent.matrixClient);
// Technically the mjolnir is a remote user, but also not because it's matrix-matrix.
//const mjAsRemote = new RemoteUser(mjIntent.userId)
//const bridgeStore = this.bridge.getUserStore()!;