From 3724fc6765c22ce887aafbe1c05d4a1d01511834 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 18 May 2021 11:49:16 +0200 Subject: [PATCH] log join network call --- src/matrix/Session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/Session.js b/src/matrix/Session.js index a2c77752..5a046117 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -720,7 +720,7 @@ export class Session { joinRoom(roomIdOrAlias, log = null) { 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; }); }