summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-01-26 23:41:19 -0400
committerKali Kaneko <kali@leap.se>2015-02-11 14:05:44 -0400
commit59f7005a05e50700f4d8f1fba4b036318fa246e6 (patch)
treed7aac631b6a9ae4a4844f463ebbfb589516aeefa /src
parent459524ffa25eb9dae95a5f761024d15b6bdb25df (diff)
fix initialization of cdocs
Diffstat (limited to 'src')
-rw-r--r--src/leap/mail/adaptors/soledad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/adaptors/soledad.py b/src/leap/mail/adaptors/soledad.py
index 74c34f9..542ad94 100644
--- a/src/leap/mail/adaptors/soledad.py
+++ b/src/leap/mail/adaptors/soledad.py
@@ -464,7 +464,7 @@ class MessageWrapper(object):
cdocs_keys = cdocs.keys()
assert sorted(cdocs_keys) == range(1, len(cdocs_keys) + 1)
self.cdocs = dict([
- (key, ContentDocWrapper(**doc.content))
+ (key, get_doc_wrapper(doc, ContentDocWrapper))
for (key, doc) in cdocs.items()])
for doc_id, cdoc in zip(self.mdoc.cdocs, self.cdocs.values()):
cdoc.set_future_doc_id(doc_id)