summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-13 11:43:12 +0100
committerMark Haines <mark.haines@matrix.org>2015-10-13 11:43:12 +0100
commit54414221e4ced47e632144afa7d768a7e252214c (patch)
tree8699e87aa3a2082b8c1a5cc17090641e89542184 /synapse/rest
parentInclude invited rooms in the initial sync (diff)
downloadsynapse-54414221e4ced47e632144afa7d768a7e252214c.tar.xz
Include invites in incremental sync
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py2
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