summaryrefslogtreecommitdiff
path: root/service/pixelated
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated')
-rw-r--r--service/pixelated/adapter/services/mail_service.py4
-rw-r--r--service/pixelated/controllers/mails_controller.py4
2 files changed, 0 insertions, 8 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index cb92228c..b828222b 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -62,7 +62,3 @@ class MailService:
def delete_permanent(self, mail_id):
mail = self.mail(mail_id)
self.querier.remove_mail(mail)
-
- def reply_all_template(self, mail_id):
- mail = self.mail(mail_id)
- return mail.to_reply_template()
diff --git a/service/pixelated/controllers/mails_controller.py b/service/pixelated/controllers/mails_controller.py
index dfd1c73b..fb9c9adc 100644
--- a/service/pixelated/controllers/mails_controller.py
+++ b/service/pixelated/controllers/mails_controller.py
@@ -119,10 +119,6 @@ class MailsController:
self._search_engine.index_mail(pixelated_mail)
return respond_json({'ident': pixelated_mail.ident}, request)
- def reply_all_template(self, request, mail_id):
- mail = self._mail_service.reply_all_template(mail_id)
- return respond_json(mail, request)
-
def _format_exception(self, exception):
exception_info = map(str, list(exception.args))
return '\n'.join(exception_info)