diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-24 13:31:26 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-24 13:31:26 +0100 |
commit | d5e32c843fb51f2b7c0247ca821fd38e5f2f25d3 (patch) | |
tree | 7287680297ca34595dbb1b2416b83fd2cd853de7 /synapse/handlers/sync.py | |
parent | Merge pull request #2378 from matrix-org/erikj/group_sync_support (diff) | |
download | synapse-d5e32c843fb51f2b7c0247ca821fd38e5f2f25d3.tar.xz |
Correctly add joins to correct segment
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r-- | synapse/handlers/sync.py | 2 |
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": |