summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index c43367fa20..5f41933174 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -55,6 +55,9 @@ class _EventInternalMetadata(object):
     def get_dict(self):
         return dict(self.__dict__)
 
+    def is_outlier(self):
+        return hasattr(self, "outlier") and self.outlier
+
 
 def _event_dict_property(key):
         def getter(self):