chore(@desktop/chat): Chat type's `toJsonNode` proc extended (#42)

`communityId` field added to the Chat `toJsonNode` procedure
This commit is contained in:
saledjenic 2021-09-20 23:22:55 +02:00 committed by GitHub
parent ea02568fbc
commit 4f7e899953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ proc toJsonNode*(self: Chat): JsonNode =
"color": self.color,
"deletedAtClockValue": self.deletedAtClockValue,
"id": self.id,
"communityId": self.communityId,
"lastClockValue": self.lastClockValue,
"lastMessage": nil,
"members": self.members.toJsonNode,