summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-24 13:31:26 +0100
committerErik Johnston <erik@matrix.org>2017-07-24 13:31:26 +0100
commitd5e32c843fb51f2b7c0247ca821fd38e5f2f25d3 (patch)
tree7287680297ca34595dbb1b2416b83fd2cd853de7 /synapse/handlers/sync.py
parentMerge pull request #2378 from matrix-org/erikj/group_sync_support (diff)
downloadsynapse-d5e32c843fb51f2b7c0247ca821fd38e5f2f25d3.tar.xz
Correctly add joins to correct segment
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 600d0589fd..d7b90a35ea 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -616,7 +616,7 @@ class SyncHandler(object):
             if membership == "join":
                 if gtype == "membership":
                     content.pop("membership", None)
-                    invited[group_id] = content["content"]
+                    joined[group_id] = content["content"]
                 else:
                     joined.setdefault(group_id, {})[gtype] = content
             elif membership == "invite":