You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
add invited count, only copy summary fields if present in summary
only copy any member from summary as they are only in the response when they change. Also accumulate them in the sync accumulator
This commit is contained in:
@@ -823,7 +823,11 @@ SyncApi.prototype._processSyncResponse = async function(
|
||||
// state: { events: [] },
|
||||
// timeline: { events: [], prev_batch: $token, limited: true },
|
||||
// ephemeral: { events: [] },
|
||||
// summary: { m.heroes: [ $userId ], m.joined_member_count: $count }
|
||||
// summary: {
|
||||
// m.heroes: [ $user_id ],
|
||||
// m.joined_member_count: $count,
|
||||
// m.invited_member_count: $count
|
||||
// },
|
||||
// account_data: { events: [] },
|
||||
// unread_notifications: {
|
||||
// highlight_count: 0,
|
||||
|
||||
Reference in New Issue
Block a user