Don't corrupt cache

This commit is contained in:
Erik Johnston 2017-10-05 11:43:22 +01:00
parent 27955056e0
commit eaaa837e00
1 changed files with 1 additions and 0 deletions

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