зеркало из https://github.com/mozilla/gecko-dev.git
fix 220646, when forwarding message as attachment, set the filename to include the .eml extension, patcy by mkmelin+mozilla@iki.fi, r=bienvenu, sr=mscott
This commit is contained in:
Родитель
c665822dd0
Коммит
0b843da2a8
|
@ -1874,7 +1874,7 @@ nsresult nsMsgCompose::CreateMessage(const char * originalMsgURI,
|
|||
nsCOMPtr<nsIMsgAttachment> attachment = do_CreateInstance(NS_MSGATTACHMENT_CONTRACTID, &rv);
|
||||
if (NS_SUCCEEDED(rv) && attachment)
|
||||
{
|
||||
attachment->SetName(subject);
|
||||
attachment->SetName(subject + NS_LITERAL_STRING(".eml"));
|
||||
attachment->SetUrl(uri);
|
||||
m_compFields->AddAttachment(attachment);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче