chore: wait for analytics box to init before fetching locally cached analytics (#3365)

This commit is contained in:
ggurdin 2025-07-07 16:57:32 -04:00 committed by GitHub
parent 12752ef38e
commit 5fb447336c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,6 +74,7 @@ class GetAnalyticsController extends BaseController {
_initializing = true;
try {
await GetStorage.init("analytics_storage");
_client.updateAnalyticsRoomVisibility();
_client.addAnalyticsRoomsToSpaces();