summaryrefslogtreecommitdiff
path: root/src/leap/mail/mail.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-02-25 14:08:01 -0400
committerKali Kaneko <kali@leap.se>2015-03-03 14:22:15 -0400
commite8ca689b9eaf4ea39f15ea0ff172dda4dd29a9b2 (patch)
tree8fa0a09ce2648ee1c7e80a2ddf2a870cc9108f8c /src/leap/mail/mail.py
parent4a0a785750e8b6a2de374c9859b98c855d807984 (diff)
fix delete_msg test
bug: delete_msg was still passing the mbox_name instead of the mbox_uuid as it should.
Diffstat (limited to 'src/leap/mail/mail.py')
-rw-r--r--src/leap/mail/mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/mail.py b/src/leap/mail/mail.py
index f9e99f0..37ab829 100644
--- a/src/leap/mail/mail.py
+++ b/src/leap/mail/mail.py
@@ -624,7 +624,7 @@ class MessageCollection(object):
def delete_mdoc_id(_, wrapper):
doc_id = wrapper.mdoc.doc_id
return self.mbox_indexer.delete_doc_by_hash(
- self.mbox_name, doc_id)
+ self.mbox_uuid, doc_id)
d = wrapper.delete(self.store)
d.addCallback(delete_mdoc_id, wrapper)
return d