For 'me,' prefer signal profile avatar over address book info
This commit is contained in:
parent
3505ab9198
commit
dd98477479
1 changed files with 3 additions and 1 deletions
|
@ -2019,7 +2019,9 @@
|
||||||
return migrateColor(this.get('color'));
|
return migrateColor(this.get('color'));
|
||||||
},
|
},
|
||||||
getAvatarPath() {
|
getAvatarPath() {
|
||||||
const avatar = this.get('avatar') || this.get('profileAvatar');
|
const avatar = this.isMe()
|
||||||
|
? this.get('profileAvatar') || this.get('avatar')
|
||||||
|
: this.get('avatar') || this.get('profileAvatar');
|
||||||
|
|
||||||
if (avatar && avatar.path) {
|
if (avatar && avatar.path) {
|
||||||
return getAbsoluteAttachmentPath(avatar.path);
|
return getAbsoluteAttachmentPath(avatar.path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue