mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-14 08:51:37 +02:00
Don't fetch widgets unless logged in
This commit is contained in:
parent
74ce5c3541
commit
58ccc7eb0c
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user