Add missing GQL fields (#6616)

This commit is contained in:
Daniel Espino García
2022-09-02 16:45:59 +02:00
committed by GitHub
parent 0d7cc9fa75
commit 18193f3c91
2 changed files with 11 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ export const gqlToClientChannelMembership = (m: Partial<GQLChannelMembership>, u
last_update_at: m.lastUpdateAt || 0,
last_viewed_at: m.lastViewedAt || 0,
mention_count: m.mentionCount || 0,
mention_count_root: m.mentionCountRoot || 0,
msg_count: m.msgCount || 0,
msg_count_root: m.msgCountRoot || 0,
notify_props: m.notifyProps || {},