diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-27 18:54:43 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-27 18:54:43 +0000 |
commit | a41dce8f8ae8bfb957a5830783e00437b4636c10 (patch) | |
tree | b806d5a3b9e85d4ac69fe898fcd5587b43fe919e /synapse | |
parent | It should be all (diff) | |
download | synapse-a41dce8f8ae8bfb957a5830783e00437b4636c10.tar.xz |
Remove needless check
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/events.py | 2 |
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. |