Changeset 218b2b


Ignore:
Timestamp:
Dec 31, 2009, 6:11:25 PM (12 years ago)
Author:
rene <rene@…>
Branches:
multiEdit, ng_0.6, ng_0.8, ng_0.9
Children:
add418
Parents:
b664c7
Message:

bugfix: force usage of found real identities

Location:
chrome/content/v_identity
Files:
2 edited

Legend:

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

    rb664c7 r218b2b  
    9797    // dependent on MsgComposeCommands, should/will only be called in ComposeDialog
    9898    isExistingIdentity : function(ignoreFullNameWhileComparing) {
     99        vI_notificationBar.dump("## vI_identityData: isExistingIdentity: ignoreFullNameWhileComparing='" + ignoreFullNameWhileComparing + "'\n");
    99100        var accounts = queryISupportsArray(gAccountManager.accounts, Components.interfaces.nsIMsgAccount);
    100101        for (var i in accounts) {
  • chrome/content/v_identity/vI_smartIdentity.js

    rb664c7 r218b2b  
    366366        /* compare with existing Identities                                     */
    367367        for (var index = 0; index < allIdentities.number; index++) {
    368             if (allIdentities.identityDataCollection[index].isExistingIdentity(true)) {
     368            var existingID = allIdentities.identityDataCollection[index].isExistingIdentity(true);
     369            if (existingID) {
     370                allIdentities.identityDataCollection[index].id.key = existingID;    // set found identity
    369371                // if 'preferExisting' than select it and return
    370372                if (vI.preferences.getBoolPref("idSelection_preferExisting")) {
Note: See TracChangeset for help on using the changeset viewer.