You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Remove getCapabilities call for guest users (#2100)
This commit is contained in:
@@ -1041,7 +1041,9 @@ export class MatrixClient extends EventEmitter {
|
||||
this.syncApi.stop();
|
||||
}
|
||||
|
||||
await this.getCapabilities(true);
|
||||
if (!this.isGuest()) {
|
||||
await this.getCapabilities(true);
|
||||
}
|
||||
|
||||
// shallow-copy the opts dict before modifying and storing it
|
||||
this.clientOpts = Object.assign({}, opts) as IStoredClientOpts;
|
||||
|
||||
Reference in New Issue
Block a user