From da8063b54b01f5dd2897f81a4bdc121c008d06da Mon Sep 17 00:00:00 2001 From: Essem Date: Sun, 11 Feb 2024 23:18:23 -0600 Subject: [PATCH] Hack to fix streaming notification order --- src/modules/statuses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 29a0ff41..69c47f9d 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -349,6 +349,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot // Only add a new notification if we don't have one for the same action if (!state.notifications.idStore.hasOwnProperty(notification.id)) { updateNotificationsMinMaxId(state, notification) + notification.seen = false state.notifications.data.push(notification) state.notifications.idStore[notification.id] = notification