chore(@desktop/chat): Chat type's `toJsonNode` proc extended (#42)
`communityId` field added to the Chat `toJsonNode` procedure
This commit is contained in:
parent
ea02568fbc
commit
4f7e899953
|
@ -56,6 +56,7 @@ proc toJsonNode*(self: Chat): JsonNode =
|
||||||
"color": self.color,
|
"color": self.color,
|
||||||
"deletedAtClockValue": self.deletedAtClockValue,
|
"deletedAtClockValue": self.deletedAtClockValue,
|
||||||
"id": self.id,
|
"id": self.id,
|
||||||
|
"communityId": self.communityId,
|
||||||
"lastClockValue": self.lastClockValue,
|
"lastClockValue": self.lastClockValue,
|
||||||
"lastMessage": nil,
|
"lastMessage": nil,
|
||||||
"members": self.members.toJsonNode,
|
"members": self.members.toJsonNode,
|
||||||
|
|
Loading…
Reference in New Issue