Fix notification deletion.

This commit is contained in:
Roger Braun 2017-06-13 12:01:47 +02:00
parent 48a6d2e987
commit e663420260
2 changed files with 19 additions and 16 deletions

View file

@ -259,7 +259,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
return
}
remove(state.notifications, ({action: {id}}) => status.id)
remove(state.notifications, ({action: {id}}) => id === status.id)
remove(allStatuses, { uri })
if (timeline) {