mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 13:49:22 -05:00
Fix backfill when cannot find an event.
`get_pdu` can succeed but return None.
This commit is contained in:
parent
aa7b890cfe
commit
706b5d76ed
@ -481,7 +481,7 @@ class FederationClient(FederationBase):
|
|||||||
defer.DeferredList(deferreds, consumeErrors=True)
|
defer.DeferredList(deferreds, consumeErrors=True)
|
||||||
)
|
)
|
||||||
for success, result in res:
|
for success, result in res:
|
||||||
if success:
|
if success and result:
|
||||||
signed_events.append(result)
|
signed_events.append(result)
|
||||||
batch.discard(result.event_id)
|
batch.discard(result.event_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user