diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-03-30 12:55:02 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-03-30 12:55:02 +0100 |
commit | 1e25f62ee6a8aaa65c139e264ec2be1f8831eb16 (patch) | |
tree | a0ba6b779784f2ee5f0f4e5c9fd275fb02a3534a /synapse/events | |
parent | Merge pull request #671 from nikriek/jwt-support (diff) | |
download | synapse-1e25f62ee6a8aaa65c139e264ec2be1f8831eb16.tar.xz |
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): |