mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
always want the dummy envelope header when save message to the disk
This commit is contained in:
parent
7fe06bccb8
commit
811626ef2f
@ -262,7 +262,11 @@ nsresult nsMailboxProtocol::LoadUrl(nsIURI * aURL, nsISupports * aConsumer)
|
||||
// create a temp file to write the message into. We need to do this because
|
||||
// we don't have pluggable converters yet. We want to let mkfile do the work of
|
||||
// converting the message from RFC-822 to HTML before displaying it...
|
||||
ClearFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
|
||||
if (m_mailboxAction ==
|
||||
nsIMailboxUrl::ActionSaveMessageToDisk)
|
||||
SetFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
|
||||
else
|
||||
ClearFlag(MAILBOX_MSG_PARSE_FIRST_LINE);
|
||||
m_tempMessageFile->OpenStreamForWriting();
|
||||
m_nextState = MAILBOX_READ_MESSAGE;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user