0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 14:24:05 +01:00

Fix check of wrong variable

This commit is contained in:
Erik Johnston 2016-10-11 13:57:22 +01:00
parent 748d8fdc7b
commit 668f91d707

View file

@ -238,7 +238,7 @@ class ReplicationResource(Resource):
request_backfill = request_streams.get("backfill") request_backfill = request_streams.get("backfill")
if request_events is not None or request_backfill is not None: 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 request_events = current_token.events
if request_backfill is None: if request_backfill is None:
request_backfill = current_token.backfill request_backfill = current_token.backfill