mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
log join network call
This commit is contained in:
parent
2cf100efaa
commit
3724fc6765
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user