Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix check of wrong variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Oct 11, 2016
1 parent 748d8fd commit 668f91d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/replication/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def events(self, writer, current_token, limit, request_streams):
request_backfill = request_streams.get("backfill")

if request_events is not None or request_backfill is not None:
if request_backfill is None:
if request_events is None:
request_events = current_token.events
if request_backfill is None:
request_backfill = current_token.backfill
Expand Down

0 comments on commit 668f91d

Please sign in to comment.