summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/mailstore
diff options
context:
space:
mode:
Diffstat (limited to 'service/pixelated/adapter/mailstore')
-rw-r--r--service/pixelated/adapter/mailstore/leap_mailstore.py5
-rw-r--r--service/pixelated/adapter/mailstore/searchable_mailstore.py2
2 files changed, 0 insertions, 7 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py
index b7c6d0ff..5357167b 100644
--- a/service/pixelated/adapter/mailstore/leap_mailstore.py
+++ b/service/pixelated/adapter/mailstore/leap_mailstore.py
@@ -165,11 +165,6 @@ class LeapMail(Mail):
return [recipient for recipient in recipients if recipient != InputMail.FROM_EMAIL_ADDRESS]
- @property
- def bounced(self):
- # TODO: Must be implemented for the search engine identify bounced mails
- return False
-
@staticmethod
def from_dict(mail_dict):
# TODO: implement this method and also write tests for it
diff --git a/service/pixelated/adapter/mailstore/searchable_mailstore.py b/service/pixelated/adapter/mailstore/searchable_mailstore.py
index 8ffc41b8..0c5310eb 100644
--- a/service/pixelated/adapter/mailstore/searchable_mailstore.py
+++ b/service/pixelated/adapter/mailstore/searchable_mailstore.py
@@ -34,8 +34,6 @@ class SearchableMailStore(object): # implementes MailStore
@defer.inlineCallbacks
def add_mail(self, mailbox_name, mail):
stored_mail = yield self._delegate.add_mail(mailbox_name, mail)
- # the stored_mail dont't have a content type needed for identify
- # that the email is bounced or not, but this header is setted on input_mail
self._search_engine.index_mail(stored_mail)
defer.returnValue(stored_mail)