diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index fe4dbb1cb5..b3e0ed99fa 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -5546,9 +5546,9 @@ export class ConversationModel extends window.Backbone }); let notificationIconUrl; - const avatar = this.get('avatar') || this.get('profileAvatar'); - if (avatar && avatar.path) { - notificationIconUrl = getAbsoluteAttachmentPath(avatar.path); + const avatarPath = this.getAvatarPath(); + if (avatarPath) { + notificationIconUrl = getAbsoluteAttachmentPath(avatarPath); } else if (isMessageInDirectConversation) { notificationIconUrl = await this.getIdenticon(); } else {