diff options
author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-09-08 22:22:57 -0300 |
---|---|---|
committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2015-09-08 22:25:08 -0300 |
commit | 3802f0a55a383fa9314236e0d0905b963ea8f297 (patch) | |
tree | d5fcc931098eaf943b1733bd0aa3444770fd2675 /service/pixelated/adapter/mailstore/searchable_mailstore.py | |
parent | b50a8ac110fc08e543a78d063844e60b7b28efae (diff) |
Some progress on the issue #441
I added some comments and TODOs in some parts of the code where I think
should be changed
Diffstat (limited to 'service/pixelated/adapter/mailstore/searchable_mailstore.py')
-rw-r--r-- | service/pixelated/adapter/mailstore/searchable_mailstore.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/pixelated/adapter/mailstore/searchable_mailstore.py b/service/pixelated/adapter/mailstore/searchable_mailstore.py index 0c5310eb..8ffc41b8 100644 --- a/service/pixelated/adapter/mailstore/searchable_mailstore.py +++ b/service/pixelated/adapter/mailstore/searchable_mailstore.py @@ -34,6 +34,8 @@ 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) |