mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-24 03:05:48 +00:00
It should be all
This commit is contained in:
parent
49f4bc4709
commit
c0d6045776
@ -316,7 +316,7 @@ class EventsStore(SQLBaseStore):
|
|||||||
and len(new_latest_event_ids) == 1
|
and len(new_latest_event_ids) == 1
|
||||||
)
|
)
|
||||||
if len_1:
|
if len_1:
|
||||||
all_single_prev_not_state = any(
|
all_single_prev_not_state = all(
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user