Merge pull request #1107 from matrix-org/erikj/backfill_none

Fix backfill when cannot find an event.
This commit is contained in:
Erik Johnston 2016-09-12 16:48:01 +01:00 committed by GitHub
commit 502c901e11

View file

@ -481,7 +481,7 @@ class FederationClient(FederationBase):
defer.DeferredList(deferreds, consumeErrors=True)
)
for success, result in res:
if success:
if success and result:
signed_events.append(result)
batch.discard(result.event_id)