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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/71c092caacd386bee09310aa330e599a601020d5/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js