diff options
-rw-r--r-- | service/pixelated/adapter/services/mail_service.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index 05ea3101..694f910a 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -127,6 +127,5 @@ class MailService(object): @defer.inlineCallbacks def delete_permanent(self, mail_id): - mail = yield self.mail(mail_id) + yield self.mail_store.delete_mail(mail_id) self.search_engine.remove_from_index(mail_id) - yield self.querier.remove_mail(mail) |