diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-03-30 15:58:49 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-03-30 15:58:49 +0100 |
commit | fc66df1e60eed066a9aca1b3db28e121541c77ef (patch) | |
tree | da41bfc59a9371d9a40716789222f7a56f8ee39a /synapse/events | |
parent | Merge pull request #673 from matrix-org/erikj/forget (diff) | |
parent | Use a stream id generator to assign state group ids (diff) | |
download | synapse-fc66df1e60eed066a9aca1b3db28e121541c77ef.tar.xz |
Merge pull request #674 from matrix-org/markjh/replicate_state
Use a stream id generator to assign state group ids
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index 23f8b612ae..925a83c645 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -31,7 +31,7 @@ class _EventInternalMetadata(object): return dict(self.__dict__) def is_outlier(self): - return hasattr(self, "outlier") and self.outlier + return getattr(self, "outlier", False) def _event_dict_property(key): |