about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/state/models/feeds/notifications.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/state/models/feeds/notifications.ts b/src/state/models/feeds/notifications.ts
index a9836d38f..34f5d4add 100644
--- a/src/state/models/feeds/notifications.ts
+++ b/src/state/models/feeds/notifications.ts
@@ -405,6 +405,13 @@ export class NotificationsFeedModel {
     } finally {
       this.lock.release()
     }
+
+    // if there are no notifications, we should refresh the list
+    // this will only run for new users who have no notifications
+    // NOTE: needs to be after the lock is released
+    if (this.isEmpty) {
+      this.refresh()
+    }
   })
 
   /**