force forward filter action to forward as attachment, until forward inline works, sr=mscott, a=asa 298969

This commit is contained in:
bienvenu%nventure.com 2005-07-08 20:07:18 +00:00
Родитель 2d840714a3
Коммит 93378c5f49
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -1142,7 +1142,9 @@ NS_IMETHODIMP nsMsgComposeService::ForwardMessage(const nsAString &forwardTo, ns
aMsgHdr->GetFolder(getter_AddRefs(folder));
folder->GetUriForMsg(aMsgHdr, getter_Copies(msgUri));
// populate the compose params
pMsgComposeParams->SetType(forwardType ? nsIMsgCompType::ForwardInline : nsIMsgCompType::ForwardAsAttachment);
// right now, forward inline won't work, since that requires opening a compose window,
// and would require major whackage of the compose code.
pMsgComposeParams->SetType(/* forwardType ? nsIMsgCompType::ForwardInline : */nsIMsgCompType::ForwardAsAttachment);
pMsgComposeParams->SetFormat(nsIMsgCompFormat::Default);
pMsgComposeParams->SetIdentity(identity);
pMsgComposeParams->SetComposeFields(compFields);