Fix web UI not removing notifications after block (#10108)

Regression from #7311
lolsob-rspec
Eugen Rochko 2019-02-25 01:10:56 +01:00 committed by Thibaut Girka
parent 6f471916f5
commit df01d5181e
1 changed files with 1 additions and 0 deletions

View File

@ -207,6 +207,7 @@ export default function notifications(state = initialState, action) {
case NOTIFICATIONS_EXPAND_SUCCESS:
return expandNormalizedNotifications(state, action.notifications, action.next);
case ACCOUNT_BLOCK_SUCCESS:
return filterNotifications(state, action.relationship);
case ACCOUNT_MUTE_SUCCESS:
return action.relationship.muting_notifications ? filterNotifications(state, action.relationship) : state;
case NOTIFICATIONS_CLEAR: