Fix: #241 リスト新着通知で、数日前の古い投稿についての通知が来る場合がある (#242)

* Fix: #241 リスト通知の重複についてとりあえずの対処

* Fix: 本家の通知バグ
This commit is contained in:
KMY(雪あすか) 2023-11-07 17:16:10 +09:00 committed by GitHub
parent 59f851d21a
commit d7f07ae80f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -107,8 +107,8 @@ export function updateNotifications(notification, intlMessages, intlLocale) {
dispatch(importFetchedAccount(notification.report.target_account));
}
dispatch(notificationsUpdate(notification, preferPendingItems, playSound && !filtered));
dispatch(notificationsUpdate({ notification }, preferPendingItems, playSound && !filtered));
fetchRelatedRelationships(dispatch, [notification]);
} else if (playSound && !filtered) {