mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
For 'me,' prefer signal profile avatar over address book info
This commit is contained in:
committed by
Ken Powers
parent
3505ab9198
commit
dd98477479
@@ -2019,7 +2019,9 @@
|
||||
return migrateColor(this.get('color'));
|
||||
},
|
||||
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) {
|
||||
return getAbsoluteAttachmentPath(avatar.path);
|
||||
|
||||
Reference in New Issue
Block a user