about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShlee <github@shl.ee>2022-08-16 04:03:05 +0930
committerGitHub <noreply@github.com>2022-08-15 20:33:05 +0200
commitd92ce31c92903c3ce24c3fcadb99af3c1ba1d585 (patch)
tree94f4ea6b4cebbdcdba71979f748d27d4b71a0f08
parent6aa83b13ba541b948d7d6927728bbdcf63a23950 (diff)
Update notifications.js (#18977)
-rw-r--r--app/javascript/mastodon/reducers/notifications.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/mastodon/reducers/notifications.js b/app/javascript/mastodon/reducers/notifications.js
index 4b460bc10..4563118ea 100644
--- a/app/javascript/mastodon/reducers/notifications.js
+++ b/app/javascript/mastodon/reducers/notifications.js
@@ -234,8 +234,6 @@ export default function notifications(state = initialState, action) {
   case FOLLOW_REQUEST_AUTHORIZE_SUCCESS:
   case FOLLOW_REQUEST_REJECT_SUCCESS:
     return filterNotifications(state, [action.id], 'follow_request');
-  case ACCOUNT_MUTE_SUCCESS:
-    return action.relationship.muting_notifications ? filterNotifications(state, [action.relationship.id]) : state;
   case NOTIFICATIONS_CLEAR:
     return state.set('items', ImmutableList()).set('pendingItems', ImmutableList()).set('hasMore', false);
   case TIMELINE_DELETE: