Don't corrupt cache

This commit is contained in:
Erik Johnston 2017-10-05 11:43:22 +01:00
parent 27955056e0
commit eaaa837e00

View file

@ -109,6 +109,7 @@ class GroupsServerHandler(object):
room_id, len(joined_users),
with_alias=False, allow_private=True,
)
entry = dict(entry) # so we don't change whats cached
entry.pop("room_id", None)
room_entry["profile"] = entry