Merge pull request #1107 from matrix-org/erikj/backfill_none
Fix backfill when cannot find an event.
This commit is contained in:
commit
502c901e11
|
@ -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