You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Don't fetch widgets unless logged in
This commit is contained in:
@@ -67,6 +67,7 @@ export class IntegrationManagers {
|
||||
}
|
||||
|
||||
_setupAccountManagers() {
|
||||
if (!this._client.getUserId()) return; // not logged in
|
||||
const widgets = WidgetUtils.getIntegrationManagerWidgets();
|
||||
widgets.forEach(w => {
|
||||
const data = w.content['data'];
|
||||
|
||||
Reference in New Issue
Block a user