summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-27 18:54:43 +0000
committerErik Johnston <erik@matrix.org>2017-02-27 18:54:43 +0000
commita41dce8f8ae8bfb957a5830783e00437b4636c10 (patch)
treeb806d5a3b9e85d4ac69fe898fcd5587b43fe919e
parentIt should be all (diff)
downloadsynapse-a41dce8f8ae8bfb957a5830783e00437b4636c10.tar.xz
Remove needless check
-rw-r--r--synapse/storage/events.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 08807deba9..db01eb6d14 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -320,8 +320,6 @@ class EventsStore(SQLBaseStore):
                                     len(event.prev_events) == 1
                                     and not event.is_state()
                                     for event, ctx in ev_ctx_rm
-                                    if not event.internal_metadata.is_outlier()
-                                    and not ctx.rejected
                                 )
                                 # Don't bother calculating state if they're just
                                 # a long chain of single ancestor non-state events.