[Glitch] Fix the notificationsUpdate call

Port f476d9dab2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput 2023-11-07 15:18:59 +01:00 committed by Claire
parent 79678cf841
commit e94fecdcc8

View file

@ -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) {