From f476d9dab2f5cca6ae44b95961df6b6557d66dab Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Tue, 7 Nov 2023 15:18:59 +0100 Subject: [PATCH] Fix the `notificationsUpdate` call (#27758) --- app/javascript/mastodon/actions/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {