rem: this.mSaveHdr = messenger.messageServiceFromURI(messageUrl.uri).messageURIToMsgHdr(messageUrl.uri); 
add: this.mSaveHdr = messenger.msgHdrFromURI(messageUrl.uri); 
context:     onEndMsgDownload: function(url)    {      // if we don't have any attachments, turn off the attachments flag      if (!this.mSaveHdr)      {        var messageUrl = url.QueryInterface(Components.interfaces.nsIMsgMessageUrl);        try        {          this.mSaveHdr = messenger.messageServiceFromURI(messageUrl.uri).messageURIToMsgHdr(messageUrl.uri);        }        catch (ex) {}      }      if (!currentAttachments.length && this.mSaveHdr)        this.mSaveHdr.markHasAttachments(false);      OnMsgParsed(url);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ed3c239904d89d8441e7d3d943c18bbda6104198/msgHdrViewOverlay.js/clean/mail/base/content/msgHdrViewOverlay.js