diff --git a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts index eb416065..f4529731 100644 --- a/src/app/components/floating-column/manage-account/mentions/mentions.component.ts +++ b/src/app/components/floating-column/manage-account/mentions/mentions.component.ts @@ -70,7 +70,7 @@ export class MentionsComponent extends TimelineBase { if (userNotification && userNotification.mentions) { let orderedMentions = [...userNotification.mentions.map(x => x.status)].reverse(); for (let m of orderedMentions) { - if (!this.statuses.find(x => x.status.id === m.id)) { + if (m && !this.statuses.find(x => x.status.id === m.id)) { let cwPolicy = this.toolsService.checkContentWarning(m); const statusWrapper = new StatusWrapper(cwPolicy.status, this.account, cwPolicy.applyCw, cwPolicy.hide); this.statuses.unshift(statusWrapper);