only auto-remember "html" in ab for "send format", not "plain"

r/sr=mscott
This commit is contained in:
sspitzer%mozilla.org 2004-06-15 07:31:50 +00:00
Родитель 9c694e01db
Коммит 76e10da908
2 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -3418,7 +3418,17 @@ nsMsgComposeAndSend::DeliverFileAsMail()
// see GenericSendMessage() in MsgComposeCommands.js for the reverse logic
// if we choose to send both (html and plain) remember html.
if (forcePlainText && !useMultipartAlternative)
sendFormat = nsIAbPreferMailFormat::plaintext;
{
// for now, don't remember the "plaintext" decision.
// we could get in here because while sending html mail
// the body was "convertible", but that doesn't mean
// we intended to force plain text here.
// so for now, use "unknown" which will have no effect on the
// prefers html attribute in the ab.
// see bug #245520 for more details
// sendFormat = nsIAbPreferMailFormat::plaintext;
sendFormat = nsIAbPreferMailFormat::unknown;
}
else if (!forcePlainText)
sendFormat = nsIAbPreferMailFormat::html;
else

Просмотреть файл

@ -268,7 +268,7 @@ nsURLFetcher::OnStartRequest(nsIRequest *request, nsISupports *ctxt)
return NS_OK;
}
nsresult
NS_IMETHODIMP
nsURLFetcher::OnStopRequest(nsIRequest *request, nsISupports * ctxt, nsresult aStatus)
{
#if defined(DEBUG_ducarroz)