Bug 1401026 - user real server name instead of account name (pretty name) for IMAP alerts. r=frg
This commit is contained in:
Родитель
8c694dc6df
Коммит
6fdb90e194
|
@ -1893,11 +1893,11 @@ nsImapIncomingServer::FEAlertWithName(const char* aMsgName, nsIMsgMailNewsUrl *a
|
|||
|
||||
if (m_stringBundle)
|
||||
{
|
||||
nsAutoString hostName;
|
||||
nsresult rv = GetPrettyName(hostName);
|
||||
nsAutoCString hostName;
|
||||
nsresult rv = GetHostName(hostName);
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
const char16_t *params[] = { hostName.get() };
|
||||
const char16_t *params[] = { NS_ConvertUTF8toUTF16(hostName).get() };
|
||||
rv = m_stringBundle->FormatStringFromName(
|
||||
aMsgName,
|
||||
params, 1,message);
|
||||
|
|
Загрузка…
Ссылка в новой задаче