Changeset 133338


Ignore:
Timestamp:
Jan 13, 2009, 1:01:16 AM (13 years ago)
Author:
rene <rene@…>
Branches:
lite_0.1, multiEdit, ng_0.6, ng_0.6_help, ng_0.8, ng_0.9
Children:
603625
Parents:
4bc65e
Message:

changed to ignore Case of email addresses and fullnames

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chrome/content/v_identity/vI_identityData.js

    r4bc65e r133338  
    9494            var identities = queryISupportsArray(accounts[i].identities, Components.interfaces.nsIMsgIdentity);
    9595            for (var j in identities) {
    96                 if (    (ignoreFullNameWhileComparing || this.fullName == identities[j].fullName) &&
    97                     (this.email == identities[j].email) &&
     96                if (    (ignoreFullNameWhileComparing ||
     97                    this.fullName.toLowerCase() == identities[j].fullName.toLowerCase()) &&
     98                    (this.email.toLowerCase() == identities[j].email.toLowerCase()) &&
    9899                    this.smtp.equal(new smtpObj(identities[j].smtpServerKey))   ) {
    99100                    vI_notificationBar.dump("## vI_identityData: isExistingIdentity: " + this.combinedName + " found, id='" + identities[j].key + "'\n");
Note: See TracChangeset for help on using the changeset viewer.