Fix bug where we changes in outlier in metadata dict propogated to other events

This commit is contained in:
Erik Johnston 2015-01-30 10:30:54 +00:00
parent 78015948a7
commit c1c7b39827
3 changed files with 8 additions and 4 deletions

View file

@ -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__)