diff --git a/app/javascript/mastodon/actions/notifications.js b/app/javascript/mastodon/actions/notifications.js index 878ff5d89..eafbf42d1 100644 --- a/app/javascript/mastodon/actions/notifications.js +++ b/app/javascript/mastodon/actions/notifications.js @@ -98,7 +98,7 @@ export function updateNotifications(notification, intlMessages, intlLocale) { } - dispatch(notificationsUpdate(notification, preferPendingItems, playSound && !filtered)); + dispatch(notificationsUpdate({ notification, preferPendingItems, playSound: playSound && !filtered})); fetchRelatedRelationships(dispatch, [notification]); } else if (playSound && !filtered) {