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;
|
let notificationIconUrl;
|
||||||
const avatar = this.get('avatar') || this.get('profileAvatar');
|
const avatarPath = this.getAvatarPath();
|
||||||
if (avatar && avatar.path) {
|
if (avatarPath) {
|
||||||
notificationIconUrl = getAbsoluteAttachmentPath(avatar.path);
|
notificationIconUrl = getAbsoluteAttachmentPath(avatarPath);
|
||||||
} else if (isMessageInDirectConversation) {
|
} else if (isMessageInDirectConversation) {
|
||||||
notificationIconUrl = await this.getIdenticon();
|
notificationIconUrl = await this.getIdenticon();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue