diff --git a/src/Hydrogen.ts b/src/Hydrogen.ts index 0e3ae3cdc09155e221481379f0c94fc9afa0d91d..0486491078716d539f795949ff0bf2ebceac58be 100644 --- a/src/Hydrogen.ts +++ b/src/Hydrogen.ts @@ -79,7 +79,7 @@ export class Hydrogen implements IMatrixClient { private async _joinRoom(roomId: string): Promise<any> { await this._session.joinRoom(roomId); - // even though we've joined the room, we need to wait till the next sync for the actual room + // even though we've joined the room, we need to wait till the next sync to get the room await this._waitForRoomFromSync(roomId); return this._session.rooms.get(roomId);