mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 03:28:06 +01:00
[Glitch] Update notifications.js
Port d92ce31c92
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
0b37299775
commit
8a93dd3d83
1 changed files with 0 additions and 2 deletions
|
@ -270,8 +270,6 @@ export default function notifications(state = initialState, action) {
|
||||||
case FOLLOW_REQUEST_AUTHORIZE_SUCCESS:
|
case FOLLOW_REQUEST_AUTHORIZE_SUCCESS:
|
||||||
case FOLLOW_REQUEST_REJECT_SUCCESS:
|
case FOLLOW_REQUEST_REJECT_SUCCESS:
|
||||||
return filterNotifications(state, [action.id], 'follow_request');
|
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:
|
case NOTIFICATIONS_CLEAR:
|
||||||
return state.set('items', ImmutableList()).set('pendingItems', ImmutableList()).set('hasMore', false);
|
return state.set('items', ImmutableList()).set('pendingItems', ImmutableList()).set('hasMore', false);
|
||||||
case TIMELINE_DELETE:
|
case TIMELINE_DELETE:
|
||||||
|
|
Loading…
Reference in a new issue