mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-05 15:30:06 +01:00
On fetch of profileAvatar, set it to convo's profileAvatar field
This commit is contained in:
1 parent
3f3c63a46f
commit
41dd78c073
1 file changed
+2
-2
@@ -33,7 +33,7 @@ function buildAvatarUpdater({ field }) {
|
||||
if (!avatar || !avatar.hash) {
|
||||
return {
|
||||
...conversation,
|
||||
avatar: {
|
||||
[field]: {
|
||||
hash: newHash,
|
||||
path: await writeNewAttachmentData(data),
|
||||
},
|
||||
@@ -50,7 +50,7 @@ function buildAvatarUpdater({ field }) {
|
||||
|
||||
return {
|
||||
...conversation,
|
||||
avatar: {
|
||||
[field]: {
|
||||
hash: newHash,
|
||||
path: await writeNewAttachmentData(data),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user