diff options
author | Shlee <github@shl.ee> | 2022-08-16 04:03:05 +0930 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-08-21 14:44:58 +0200 |
commit | 8a93dd3d83995a6821bfda88c28204dcee1461e8 (patch) | |
tree | da884993bdb5476cd6df5028ecafcaf1a2ba2948 /app | |
parent | 0b37299775acd5804041cce21567fcf069082d83 (diff) |
[Glitch] Update notifications.js
Port d92ce31c92903c3ce24c3fcadb99af3c1ba1d585 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/notifications.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/reducers/notifications.js b/app/javascript/flavours/glitch/reducers/notifications.js index f538af7fa..1e61526b1 100644 --- a/app/javascript/flavours/glitch/reducers/notifications.js +++ b/app/javascript/flavours/glitch/reducers/notifications.js @@ -270,8 +270,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: |