From b17eecaa35240333d0270c1a3437e67510fe4f20 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Sun, 20 Nov 2016 15:41:21 -0300 Subject: [bug] emit last sent doc event Document sending happens after encryption, so the last sent document needs to be signalled after request end. --- client/src/leap/soledad/client/http_target/send.py | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/src/leap/soledad/client/http_target/send.py b/client/src/leap/soledad/client/http_target/send.py index ffb5f4ba..b9ca7da2 100644 --- a/client/src/leap/soledad/client/http_target/send.py +++ b/client/src/leap/soledad/client/http_target/send.py @@ -72,6 +72,7 @@ class HTTPDocSender(object): calls.append((self._prepare_one_doc, entry, body, idx, total)) result = yield self._send_request(body, calls) + _emit_send_status(self.uuid, body.consumed, total) defer.returnValue(result) -- cgit v1.2.3