fix(@desktop/messages): asssign user icon on contact update

fixes: #5463
This commit is contained in:
Patryk Osmaczko 2022-04-13 09:35:41 +02:00 committed by Iuri Matias
parent f59f0f69c5
commit a633d33ec5
1 changed files with 1 additions and 1 deletions

View File

@ -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)