mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 15:08:49 +03:00
Correctly add joins to correct segment
This commit is contained in:
parent
96917d5552
commit
d5e32c843f
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue