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

Fix backfill when cannot find an event.
pull/1109/head
Erik Johnston 2016-09-12 16:48:01 +01:00 committed by GitHub
commit 502c901e11
1 changed files with 1 additions and 1 deletions

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)