diff options
author | drebs <drebs@leap.se> | 2014-07-14 20:09:01 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2014-08-08 11:48:59 -0300 |
commit | 51e0bf7f79a444661b10fe418af85b0a60f41afb (patch) | |
tree | 5f3068e59f207a441906f46e4f02de6695a1dba9 /client/src/leap | |
parent | 95f34ccab21e36ea48e0d01a4b9ee00e6094d1ec (diff) |
Insert received docs in sync db after decryption (#5895).
Diffstat (limited to 'client/src/leap')
-rw-r--r-- | client/src/leap/soledad/client/crypto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/leap/soledad/client/crypto.py b/client/src/leap/soledad/client/crypto.py index 128e40d7..d0a5a693 100644 --- a/client/src/leap/soledad/client/crypto.py +++ b/client/src/leap/soledad/client/crypto.py @@ -876,7 +876,7 @@ class SyncDecrypterPool(SyncEncryptDecryptPool): """ doc_id, rev, content, gen, trans_id = result logger.debug("Sync decrypter pool: decrypted doc %s: %s %s" % (doc_id, rev, gen)) - self.decrypted_docs[gen] = result + self.insert_received_doc(doc_id, rev, content, gen, trans_id) def get_docs_by_generation(self): """ |