diff options
author | Erik Johnston <erik@matrix.org> | 2016-10-11 13:57:22 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-10-11 13:57:22 +0100 |
commit | 668f91d70787dbc007b8221f0e6d7fda8affdacc (patch) | |
tree | bf7ad83251c779551558212bd707cbb770b1bae5 /synapse/replication | |
parent | Reduce DB hits for replication (diff) | |
download | synapse-668f91d70787dbc007b8221f0e6d7fda8affdacc.tar.xz |
Fix check of wrong variable
Diffstat (limited to 'synapse/replication')
-rw-r--r-- | synapse/replication/resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/resource.py b/synapse/replication/resource.py index 585bd1c4ad..5a14c51d23 100644 --- a/synapse/replication/resource.py +++ b/synapse/replication/resource.py @@ -238,7 +238,7 @@ class ReplicationResource(Resource): 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 |