diff options
author | Bruno Wagner <bwagner@riseup.net> | 2015-09-10 16:16:20 -0300 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2015-09-10 16:16:20 -0300 |
commit | 63b8dee422c196f9993435f53417df23828e054f (patch) | |
tree | 8a1e569c934137dee9e69e1120e01f1ba2650514 /service/pixelated/adapter/search/__init__.py | |
parent | 8d2dac75d667818ea28abc0c25f45e4ce4b3f6c8 (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/search/__init__.py')
-rw-r--r-- | service/pixelated/adapter/search/__init__.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/service/pixelated/adapter/search/__init__.py b/service/pixelated/adapter/search/__init__.py index 84e69a9a..0c86582d 100644 --- a/service/pixelated/adapter/search/__init__.py +++ b/service/pixelated/adapter/search/__init__.py @@ -102,7 +102,6 @@ class SearchEngine(object): to=KEYWORD(stored=False, commas=True), cc=KEYWORD(stored=False, commas=True), bcc=KEYWORD(stored=False, commas=True), - bounced=KEYWORD(stored=False, commas=True), subject=TEXT(stored=False), date=NUMERIC(stored=False, sortable=True, bits=64, signed=False), body=TEXT(stored=False), @@ -123,7 +122,6 @@ class SearchEngine(object): header = mdict['header'] tags = set(mdict.get('tags', {})) tags.add(mail.mailbox_name.lower()) - bounced = mail.bounced if mail.bounced else [''] index_data = { 'sender': self._empty_string_to_none(header.get('from', '')), @@ -133,7 +131,6 @@ class SearchEngine(object): 'cc': self._format_recipient(header, 'cc'), 'bcc': self._format_recipient(header, 'bcc'), 'tag': u','.join(unique(tags)), - 'bounced': u','.join(bounced), 'body': unicode(mdict['textPlainBody'] if 'textPlainBody' in mdict else mdict['body']), 'ident': unicode(mdict['ident']), 'flags': unicode(','.join(unique(mail.flags))), |