From 91b360fd195fbf2c4961abafa597c4ab77e0301a Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 20 Mar 2023 16:18:42 -0500 Subject: [PATCH] Fix: poll for unread notifications globally (close #303) (#330) --- src/state/models/root-store.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts index 58cad77b9f..03550f1b01 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)