if (this.parentComment) {
const mentions = this.parentComments
- .filter(c => c.account.id !== this.user.account.id) // Don't add mention of ourselves
+ .filter(c => c.account && c.account.id !== this.user.account.id) // Don't add mention of ourselves
.map(c => '@' + c.by)
const mentionsSet = new Set(mentions)