Bug #289091 --> Thunderbird doesn't handle return receipts

for IMAP accounts anymore. Regression fix.

sr=bienvenu
This commit is contained in:
scott%scott-macgregor.org 2005-06-15 22:04:59 +00:00
parent 5b8610a24b
commit 19e8c3955d

View File

@ -918,11 +918,10 @@ nsresult nsMsgMdnGenerator::InitAndProcess()
if (!accountKey.IsEmpty())
accountManager->GetAccount(accountKey, getter_AddRefs(account));
if (account)
{
account->GetIncomingServer(getter_AddRefs(m_server));
if (m_server)
rv = accountManager->GetFirstIdentityForServer(m_server, getter_AddRefs(m_identity));
}
if (m_server)
rv = accountManager->GetFirstIdentityForServer(m_server, getter_AddRefs(m_identity));
}
NS_ENSURE_SUCCESS(rv,rv);