diff options
author | Kali Kaneko <kali@leap.se> | 2015-01-26 23:41:19 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:05:44 -0400 |
commit | 1cc6f2198f38e1f4b53171056ec67aa114634f35 (patch) | |
tree | f12fb30f16498b08f851545275973d77e2abbbe4 /mail/src/leap | |
parent | 3dd19845c17a2ecada8f04f463867fb5c9d5040f (diff) |
fix initialization of cdocs
Diffstat (limited to 'mail/src/leap')
-rw-r--r-- | mail/src/leap/mail/adaptors/soledad.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/src/leap/mail/adaptors/soledad.py b/mail/src/leap/mail/adaptors/soledad.py index 74c34f9..542ad94 100644 --- a/mail/src/leap/mail/adaptors/soledad.py +++ b/mail/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) |