mirror of
https://github.com/mastodon/mastodon
synced 2024-12-01 00:08:21 +09:00
Fix the notificationsUpdate
call (#27758)
This commit is contained in:
parent
45770c9306
commit
f476d9dab2
@ -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]);
|
fetchRelatedRelationships(dispatch, [notification]);
|
||||||
} else if (playSound && !filtered) {
|
} else if (playSound && !filtered) {
|
||||||
|
Loading…
Reference in New Issue
Block a user