diff options
| author | Victor Shyba <victor1984@riseup.net> | 2016-11-20 15:41:21 -0300 |
|---|---|---|
| committer | Victor Shyba <victor1984@riseup.net> | 2016-11-20 17:11:43 -0300 |
| commit | e1daa8e58a412e983a5cdc8bfc8ffa03ab648a45 (patch) | |
| tree | fd17b4565a0e680438983cb5faeaeffda46d4f47 /client | |
| parent | 0a4b6acfd4dbcedb2e25fab4284df59edee873fd (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')
| -rw-r--r-- | client/src/leap/soledad/client/http_target/send.py | 1 |
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) |
