From 91b360fd195fbf2c4961abafa597c4ab77e0301a Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 20 Mar 2023 16:18:42 -0500 Subject: Fix: poll for unread notifications globally (close #303) (#330) --- src/state/models/root-store.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit 1.4.1