summaryrefslogtreecommitdiff
path: root/client/src/leap
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2016-11-20 15:41:21 -0300
committerdrebs <drebs@leap.se>2016-12-12 09:15:21 -0200
commitb17eecaa35240333d0270c1a3437e67510fe4f20 (patch)
treea115557030f3a6f0b1d4c089e6fac6c185d4064b /client/src/leap
parentbfe330a7eaad1c51640dbbb91be233a65d2a4bd7 (diff)
[bug] emit last sent doc event
Document sending happens after encryption, so the last sent document needs to be signalled after request end.
Diffstat (limited to 'client/src/leap')
-rw-r--r--client/src/leap/soledad/client/http_target/send.py1
1 files changed, 1 insertions, 0 deletions
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)