Make federation send queue take the current position

This commit is contained in:
Erik Johnston 2017-03-27 14:11:17 +01:00
parent 7984708a55
commit 11880103b1
2 changed files with 26 additions and 16 deletions

View file

@ -489,7 +489,7 @@ class ReplicationResource(Resource):
if federation is not None and federation != current_position:
federation_rows = self.federation_sender.get_replication_rows(
federation, limit, federation_ack=federation_ack,
federation, current_position, limit, federation_ack=federation_ack,
)
upto_token = _position_from_rows(federation_rows, current_position)
writer.write_header_and_rows("federation", federation_rows, (