Changeset 6a7f7e


Ignore:
Timestamp:
Jul 18, 2008, 3:22:40 PM (12 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
1c4459
Parents:
de26ca
Message:

SmartIdentity? should never remove addresses if they are reply-to or followup-to's

File:
1 edited

Legend:

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

    rde26ca r6a7f7e  
    351351            var popup = awGetPopupElement(row);
    352352            var input = awGetInputElement(row);
     353            var recipientType = popup.selectedItem.getAttribute("value");
     354            // if the entry is not a recipient, just continue
     355            if (recipientType == "addr_reply" || recipientType == "addr_followup") continue;
    353356            // check if the entry is used as a BCC selected in account settings
    354             if ((awGetPopupElement(row).selectedItem.getAttribute("value") == "addr_bcc") && skip_bcc) continue;
     357            if (recipientType == "addr_bcc" && skip_bcc) continue;
    355358            // check if entry is matching senders address, if so, remove it
    356359            if (input.value == allIdentities.emails[index] ||
Note: See TracChangeset for help on using the changeset viewer.