fix(@desktop/chat): Do not show chat identicons

Fix #7371
This commit is contained in:
Michal Iskierko 2022-09-19 12:43:36 +02:00 committed by Michał Iskierko
parent d7710ce135
commit 6181583f95
1 changed files with 0 additions and 2 deletions

View File

@ -237,8 +237,6 @@ proc toChatDto*(jsonObj: JsonNode): ChatDto =
discard jsonObj.getProp("image", chatImage) discard jsonObj.getProp("image", chatImage)
if (result.chatType == ChatType.PrivateGroupChat and len(chatImage) > 0): if (result.chatType == ChatType.PrivateGroupChat and len(chatImage) > 0):
result.icon = chatImage result.icon = chatImage
else:
discard jsonObj.getProp("identicon", result.icon)
var membersObj: JsonNode var membersObj: JsonNode
if(jsonObj.getProp("members", membersObj)): if(jsonObj.getProp("members", membersObj)):