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), room_id, len(joined_users),
with_alias=False, allow_private=True, with_alias=False, allow_private=True,
) )
entry = dict(entry) # so we don't change whats cached
entry.pop("room_id", None) entry.pop("room_id", None)
room_entry["profile"] = entry room_entry["profile"] = entry