summary refs log tree commit diff
path: root/synapse/events/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-30 10:30:54 +0000
committerErik Johnston <erik@matrix.org>2015-01-30 10:30:54 +0000
commitc1c7b398270cc19fcf9410b9159f741092e0510b (patch)
tree28dd0adbce84dd907ea62509f37ddb74b6996c4e /synapse/events/__init__.py
parentInitial implementation of auth conflict resolution (diff)
downloadsynapse-c1c7b398270cc19fcf9410b9159f741092e0510b.tar.xz
Fix bug where we changes in outlier in metadata dict propogated to other events
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r--synapse/events/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 4252e5ab5c..bf07951027 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -18,7 +18,7 @@ from synapse.util.frozenutils import freeze, unfreeze
 
 class _EventInternalMetadata(object):
     def __init__(self, internal_metadata_dict):
-        self.__dict__ = internal_metadata_dict
+        self.__dict__ = dict(internal_metadata_dict)
 
     def get_dict(self):
         return dict(self.__dict__)