Bug #305557 --> Try only tagging embedded parts when forwarding

inline so we don't do it when you are opening a draft or a template.

sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2005-08-25 22:44:33 +00:00
parent f8776f4089
commit 912a813940

View File

@ -540,7 +540,11 @@ nsMsgCompose::ConvertAndLoadComposeWindow(nsString& aPrefix,
m_editor->EndOfDocument();
}
(void)TagEmbeddedObjects(mailEditor);
// when forwarding a message as inline, tag any embedded objects
// which refer to local images or files so we know not to include
// send them
if (mType == nsIMsgCompType::ForwardInline)
(void)TagEmbeddedObjects(mailEditor);
if (!aSignature.IsEmpty())
htmlEditor->InsertHTML(aSignature);