summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/adapter/services/mail_service.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index 656bb4bc..e392bc44 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -98,7 +98,6 @@ class MailService(object):
self.search_engine.index_mail(trashed_mail)
def recover_mail(self, mail_id):
- mail = self.mail(mail_id)
recovered_mail = self.mailboxes.move_to_inbox(mail_id)
self.search_engine.index_mail(recovered_mail)