Ensure notification icons respect avatar preference
This commit is contained in:
parent
863a441dd4
commit
83abcd4cca
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue