Fix notification parsing for team memeber added

This commit is contained in:
kolaente 2021-02-23 18:16:13 +01:00
parent d833e42aaf
commit 39861fbd0f
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -72,7 +72,7 @@ export default class NotificationModel extends AbstractModel {
case names.TEAM_MEMBER_ADDED: case names.TEAM_MEMBER_ADDED:
who = `${this.notification.member.getDisplayName()}` who = `${this.notification.member.getDisplayName()}`
if (user !== null && user.id === this.notification.memeber.id) { if (user !== null && user.id === this.notification.member.id) {
who = 'you' who = 'you'
} }