summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/mailstore/searchable_mailstore.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2015-09-10 16:16:20 -0300
committerBruno Wagner <bwagner@riseup.net>2015-09-10 16:16:20 -0300
commit63b8dee422c196f9993435f53417df23828e054f (patch)
tree8a1e569c934137dee9e69e1120e01f1ba2650514 /service/pixelated/adapter/mailstore/searchable_mailstore.py
parent8d2dac75d667818ea28abc0c25f45e4ce4b3f6c8 (diff)
Removed bounced email contact removal (#441)
This feature was never working anyway. Anybody could remove addresses from anyones adressbook by sending a bounce and then the receiver was not able to send an email to that address anymore. Nice dos :)
Diffstat (limited to 'service/pixelated/adapter/mailstore/searchable_mailstore.py')
-rw-r--r--service/pixelated/adapter/mailstore/searchable_mailstore.py2
1 files changed, 0 insertions, 2 deletions
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)