diff --git a/src/app_service/service/chat/dto/chat.nim b/src/app_service/service/chat/dto/chat.nim index 0f504b8f5f..4d34945496 100644 --- a/src/app_service/service/chat/dto/chat.nim +++ b/src/app_service/service/chat/dto/chat.nim @@ -246,7 +246,7 @@ proc toChannelMember*(jsonObj: JsonNode, memberId: string, joined: bool): ChatMe var revealedAccountsObj: JsonNode if jsonObj.getProp("revealed_accounts", revealedAccountsObj): for revealedAccountObj in revealedAccountsObj: - if revealedAccountObj["isAirdropAddress"].getBool: + if revealedAccountObj{"isAirdropAddress"}.getBool: var chainIdsObj: JsonNode var chainIds: seq[int] = @[] if revealedAccountObj.getProp("chain_ids", chainIdsObj):