[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
1 changed files with 1 additions and 1 deletions

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]); fetchRelatedRelationships(dispatch, [notification]);
} else if (playSound && !filtered) { } else if (playSound && !filtered) {