undo test condition

This commit is contained in:
Henry Jameson 2018-08-12 14:15:09 +03:00
parent 63650aec29
commit d085cc8584

View file

@ -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