log join network call
This commit is contained in:
parent
2cf100efaa
commit
3724fc6765
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue