log join network call

This commit is contained in:
Bruno Windels 2021-05-18 11:49:16 +02:00
parent 2cf100efaa
commit 3724fc6765

View file

@ -720,7 +720,7 @@ export class Session {
joinRoom(roomIdOrAlias, log = null) { joinRoom(roomIdOrAlias, log = null) {
return this._platform.logger.wrapOrRun(log, "joinRoom", async log => { return this._platform.logger.wrapOrRun(log, "joinRoom", async log => {
const body = await this._hsApi.joinIdOrAlias(roomIdOrAlias).response(); const body = await this._hsApi.joinIdOrAlias(roomIdOrAlias, {log}).response();
return body.room_id; return body.room_id;
}); });
} }