mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Set combinations is | and not +
This commit is contained in:
parent
fed29251d7
commit
77a076bd25
@ -114,9 +114,9 @@ class FederationHandler(BaseHandler):
|
|||||||
|
|
||||||
event_ids = set()
|
event_ids = set()
|
||||||
if state:
|
if state:
|
||||||
event_ids += {e.event_id for e in state}
|
event_ids |= {e.event_id for e in state}
|
||||||
if auth_chain:
|
if auth_chain:
|
||||||
event_ids += {e.event_id for e in auth_chain}
|
event_ids |= {e.event_id for e in auth_chain}
|
||||||
|
|
||||||
seen_ids = (yield self.store.have_events(event_ids)).keys()
|
seen_ids = (yield self.store.have_events(event_ids)).keys()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user