Skip to content

Commit

Permalink
Fix: ミュート操作時のエラー
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Nov 28, 2023
1 parent c4410ac commit d874070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/reducers/notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export default function notifications(state = initialState, action) {
case blockAccountSuccess.type:
return filterNotifications(state, [action.payload.relationship.id]);
case muteAccountSuccess.type:
return action.relationship.muting_notifications ? filterNotifications(state, [action.payload.relationship.id]) : state;
return action.payload.relationship.muting_notifications ? filterNotifications(state, [action.payload.relationship.id]) : state;
case blockDomainSuccess.type:
return filterNotifications(state, action.payload.accounts);
case authorizeFollowRequestSuccess.type:
Expand Down

0 comments on commit d874070

Please sign in to comment.