environments/review-fix-mentio-8fsvkb/deployments/3560
Alex Gleason 2023-06-30 09:45:11 -05:00
rodzic 5ffaaa4c3a
commit 6326eeb083
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -93,7 +93,7 @@ const isValid = (notification: APIEntity) => {
}
// Mastodon can return status notifications with a null status
if (['mention', 'reblog', 'favourite', 'poll', 'status'].includes(notification.type) && !notification.status.id) {
if (['mention', 'reblog', 'favourite', 'poll', 'status'].includes(notification.type) && !notification.getIn(['status', 'id'])) {
return false;
}