summaryrefslogtreecommitdiff
path: root/src/leap/mail/mail.py
diff options
context:
space:
mode:
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