summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-03-30 12:55:02 +0100
committerMark Haines <mark.haines@matrix.org>2016-03-30 12:55:02 +0100
commit1e25f62ee6a8aaa65c139e264ec2be1f8831eb16 (patch)
treea0ba6b779784f2ee5f0f4e5c9fd275fb02a3534a /synapse/events
parentMerge pull request #671 from nikriek/jwt-support (diff)
downloadsynapse-1e25f62ee6a8aaa65c139e264ec2be1f8831eb16.tar.xz
Use a stream id generator to assign state group ids
Diffstat (limited to 'synapse/events')
-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 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):