mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
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:
parent
f8776f4089
commit
912a813940
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user