diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-10-13 11:43:12 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-10-13 11:43:12 +0100 |
commit | 54414221e4ced47e632144afa7d768a7e252214c (patch) | |
tree | 8699e87aa3a2082b8c1a5cc17090641e89542184 /synapse/rest | |
parent | Include invited rooms in the initial sync (diff) | |
download | synapse-54414221e4ced47e632144afa7d768a7e252214c.tar.xz |
Include invites in incremental sync
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py index 399df9e772..fffecb24f5 100644 --- a/synapse/rest/client/v2_alpha/sync.py +++ b/synapse/rest/client/v2_alpha/sync.py @@ -177,7 +177,7 @@ class SyncRestServlet(RestServlet): invited_state = invite.get("unsigned", {}).pop("invite_room_state", []) invited_state.append(invite) invited[room.room_id] = { - "invite_state": { "events": invited_state } + "invite_state": {"events": invited_state} } return invited |