mirror of
https://github.com/element-hq/synapse
synced 2024-08-18 23:50:52 +00:00
Fix check of wrong variable
This commit is contained in:
parent
748d8fdc7b
commit
668f91d707
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue