From 6326eeb083b3898993a6e599872d764a51dc1b06 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 30 Jun 2023 09:45:11 -0500 Subject: [PATCH] Fix mentions --- app/soapbox/reducers/notifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/reducers/notifications.ts b/app/soapbox/reducers/notifications.ts index 8462f873f..f2147b2cf 100644 --- a/app/soapbox/reducers/notifications.ts +++ b/app/soapbox/reducers/notifications.ts @@ -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; }