This is just some static backup of the original site, don't expect every link to work!

Ignore:
Timestamp:
Aug 3, 2014, 12:58:03 PM (8 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
ee0ffd
Parents:
eca948
Message:

added option to search matching BaseIdentity? based on domain name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/vI_smartIdentityCollection.js

    reca948 rc55313  
    393393                }
    394394            }
     395           
     396            /* smart_reply_searchBaseIdentity: compare email with other Identities          */
     397            /* to find matching domain. Use first found as base identity (smtp etc) */
     398            if (vIprefs.get("smart_reply_searchBaseIdentity")) {
     399                Log.debug("compare domain name with existing accounts.")
     400           
     401                for (var index = 0; index < this._allIdentities.number; index++) {
     402                    var idKey = this._allIdentities.identityDataCollection[index].hasMatchingDomainIdentity();
     403                    if (idKey) {
     404                        Log.debug("use id with matching domain as base ID");
     405                        this._allIdentities.identityDataCollection[index].id.key = idKey;
     406                    }
     407                }               
     408            }
     409           
    395410        }
    396411        else Log.debug("SmartReply skipped. No Header-information found.");
Note: See TracChangeset for help on using the changeset viewer.