kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'fix-mentions' into 'develop'
Fix mentions Closes #1449 See merge request soapbox-pub/soapbox!2584environments/review-fix-edit-p-me9emv/deployments/3562
commit
f7e82e2fc1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue