mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-24 03:05:48 +00:00
Remove needless check
This commit is contained in:
parent
c0d6045776
commit
a41dce8f8a
@ -320,8 +320,6 @@ class EventsStore(SQLBaseStore):
|
|||||||
len(event.prev_events) == 1
|
len(event.prev_events) == 1
|
||||||
and not event.is_state()
|
and not event.is_state()
|
||||||
for event, ctx in ev_ctx_rm
|
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
|
# Don't bother calculating state if they're just
|
||||||
# a long chain of single ancestor non-state events.
|
# a long chain of single ancestor non-state events.
|
||||||
|
Loading…
Reference in New Issue
Block a user