summary refs log tree commit diff
path: root/synapse/groups/groups_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-10-05 11:43:22 +0100
committerErik Johnston <erik@matrix.org>2017-10-05 11:43:22 +0100
commiteaaa837e002fa068f23b04b140d538e91ccc2eab (patch)
treee66f461e56f186a21b69e1ce61eb2d4915227290 /synapse/groups/groups_server.py
parentMerge branch 'develop' into erikj/groups_merged (diff)
downloadsynapse-eaaa837e002fa068f23b04b140d538e91ccc2eab.tar.xz
Don't corrupt cache
Diffstat (limited to 'synapse/groups/groups_server.py')
-rw-r--r--synapse/groups/groups_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index 10bf61d178..991cc12cce 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -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