From d085cc85845c84a544ed5fff8a41aafd47937b6e Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sun, 12 Aug 2018 14:15:09 +0300 Subject: [PATCH] undo test condition --- src/modules/statuses.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index a8a0d4fe..bc3799dd 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -268,7 +268,7 @@ const addNewNotifications = (state, { notifications, older }) => { state.notifications.minId = Math.min(notification.id, state.notifications.minId) console.log(notification) - const fresh = !older && !notification.is_seen && notification.id >= state.notifications.maxSavedId + const fresh = !older && !notification.is_seen && notification.id > state.notifications.maxSavedId const status = notification.ntype === 'like' ? find(allStatuses, { id: action.in_reply_to_status_id }) : action