mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Correctly add joins to correct segment
This commit is contained in:
parent
96917d5552
commit
d5e32c843f
@ -616,7 +616,7 @@ class SyncHandler(object):
|
|||||||
if membership == "join":
|
if membership == "join":
|
||||||
if gtype == "membership":
|
if gtype == "membership":
|
||||||
content.pop("membership", None)
|
content.pop("membership", None)
|
||||||
invited[group_id] = content["content"]
|
joined[group_id] = content["content"]
|
||||||
else:
|
else:
|
||||||
joined.setdefault(group_id, {})[gtype] = content
|
joined.setdefault(group_id, {})[gtype] = content
|
||||||
elif membership == "invite":
|
elif membership == "invite":
|
||||||
|
Loading…
Reference in New Issue
Block a user