Merge branch 'fix-mentions' into 'develop'
Fix mentions Closes #1449 See merge request soapbox-pub/soapbox!2584
This commit is contained in:
commit
f7e82e2fc1
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ const isValid = (notification: APIEntity) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mastodon can return status notifications with a null status
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue