Bug 64267 - clicking on email address/mailto link in message body doesn't set the correct From (identity) - bustage fix for .emls; r=bienvenu
This commit is contained in:
Родитель
5b5d257277
Коммит
be7a0b5df5
|
@ -103,6 +103,11 @@ nsresult nsMsgComposeContentHandler::GetBestIdentity(
|
|||
rv = msgHdr->GetFolder(getter_AddRefs(folder));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// nsIMsgDBHdrs from .eml messages have a null folder, so bail out if that's
|
||||
// the case.
|
||||
if (!folder)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
nsCOMPtr<nsIMsgIncomingServer> server;
|
||||
rv = folder->GetServer(getter_AddRefs(server));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче