Changeset 538dc4


Ignore:
Timestamp:
Jan 13, 2009, 1:01:16 AM (13 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
5eaefa
Parents:
302dd6
Message:

changed to ignore Case of email addresses and fullnames

File:
1 edited

Legend:

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

    r302dd6 r538dc4  
    146146        this.comp.compareID = compareIdentityData;
    147147
    148         this.comp.equals.fullName = (ignoreFullName || this.fullName == compareIdentityData.fullName)
    149         this.comp.equals.email = (this.email == compareIdentityData.email)
     148        this.comp.equals.fullName = (ignoreFullName ||
     149            this.fullName.toLowerCase() == compareIdentityData.fullName.toLowerCase())
     150        this.comp.equals.email = (this.email.toLowerCase() == compareIdentityData.email.toLowerCase())
    150151        this.comp.equals.smtpName = this.__equalSMTP(compareIdentityData.smtp);
    151152        this.comp.equals.idName = this.__equalID(compareIdentityData.id);
Note: See TracChangeset for help on using the changeset viewer.