0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-20 12:24:59 +01:00

Correctly add joins to correct segment

This commit is contained in:
Erik Johnston 2017-07-24 13:31:26 +01:00
parent 96917d5552
commit d5e32c843f

View file

@ -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":