Changeset 058509


Ignore:
Timestamp:
Sep 17, 2008, 5:08:42 PM (13 years ago)
Author:
rene <rene@…>
Branches:
master
Children:
962758
Parents:
3b8005
Message:

read original msg-header before trying to get the draftId-header (backport from branch 0.6)

File:
1 edited

Legend:

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

    r3b8005 r058509  
    107107        var allIdentities = new identityCollection();
    108108
    109         var draftHdr = null;
    110         // fails with seamonkey 1.1.11, so just try it
     109        var draftHdr = vI_smartIdentity.messenger.
     110            messageServiceFromURI(gMsgCompose.originalMsgURI).messageURIToMsgHdr(gMsgCompose.originalMsgURI);
     111        // fails with seamonkey 1.1.11, so just try to read to draft id
    111112        try { draftHdr = vI_smartIdentity.messenger.
    112113            messageServiceFromURI(gMsgCompose.compFields.draftId).messageURIToMsgHdr(gMsgCompose.compFields.draftId);
Note: See TracChangeset for help on using the changeset viewer.