Fix: poll for unread notifications globally (close
#303) (
#330)
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts
index 58cad77b9..03550f1b0 100644
--- a/src/state/models/root-store.ts
+++ b/src/state/models/root-store.ts
@@ -158,6 +158,7 @@ export class RootStoreModel {
return
}
try {
+ await this.me.notifications.loadUnreadCount()
await this.me.follows.fetchIfNeeded()
} catch (e: any) {
this.log.error('Failed to fetch latest state', e)
|