Changeset 0ff671


Ignore:
Timestamp:
Feb 11, 2017, 1:37:07 PM (3 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
b85576
Parents:
5da0a4
Message:

made mailinglist-recognition more robust

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/vI_smartIdentityCollection.js

    r5da0a4 r0ff671  
    259259
    260260      // if mailing-list ignore to-header (usually the mailing list address)
     261      if ((replyHeaderNameToRead == "to" || replyHeaderNameToRead == "x-original-to") && this._msgHdr.getStringProperty("vI_list-id")) {
     262        Log.debug("header 'list-id' found (mailinglist), skipping header '" + replyHeaderNameToRead + "'");
     263        continue;
     264      }
     265
     266      // if mailing-list ignore to-header (usually the mailing list address)
    261267      if (replyHeaderNameToRead == "to" && this._msgHdr.getStringProperty("vI_list-id")) {
    262268        Log.debug("header 'list-id' found (mailinglist), skipping header 'to'");
Note: See TracChangeset for help on using the changeset viewer.