From e94fecdcc87a82472eeabca525a86d5a633ac9dc Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Tue, 7 Nov 2023 15:18:59 +0100 Subject: [PATCH] [Glitch] Fix the `notificationsUpdate` call Port f476d9dab2f5cca6ae44b95961df6b6557d66dab to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/actions/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/actions/notifications.js b/app/javascript/flavours/glitch/actions/notifications.js index d5780eaed4..4179cfa56a 100644 --- a/app/javascript/flavours/glitch/actions/notifications.js +++ b/app/javascript/flavours/glitch/actions/notifications.js @@ -110,7 +110,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) {