From a633d33ec518aa4a6b4a4352a0671413922340b1 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Wed, 13 Apr 2022 09:35:41 +0200 Subject: [PATCH] fix(@desktop/messages): asssign user icon on contact update fixes: #5463 --- .../modules/main/chat_section/chat_content/messages/module.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/main/chat_section/chat_content/messages/module.nim b/src/app/modules/main/chat_section/chat_content/messages/module.nim index d71e8063e6..a2a105a9e3 100644 --- a/src/app/modules/main/chat_section/chat_content/messages/module.nim +++ b/src/app/modules/main/chat_section/chat_content/messages/module.nim @@ -389,7 +389,7 @@ method updateContactDetails*(self: Module, contactId: string) = if(item.senderId == contactId): item.senderDisplayName = updatedContact.displayName item.senderLocalName = updatedContact.details.localNickname - item.senderIcon = "" + item.senderIcon = updatedContact.icon item.senderIsAdded = updatedContact.details.added if(item.messageContainsMentions): let (m, _, err) = self.controller.getMessageDetails(item.id)