зеркало из https://github.com/mozilla/pjs.git
force forward filter action to forward as attachment, until forward inline works, sr=mscott, a=asa 298969
This commit is contained in:
Родитель
2d840714a3
Коммит
93378c5f49
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче