summary refs log tree commit diff
diff options
context:
space:
mode:
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":