Bug 1695703 - Follow-up: Password manager stores mailbox: instead of pop3:. r=benc
This commit is contained in:
Родитель
c37e8363a8
Коммит
3d8685c753
|
@ -99,7 +99,11 @@ nsMsgIncomingServer::Observe(nsISupports* aSubject, const char* aTopic,
|
||||||
GetHostName(hostname);
|
GetHostName(hostname);
|
||||||
nsAutoCString fullName;
|
nsAutoCString fullName;
|
||||||
GetType(fullName);
|
GetType(fullName);
|
||||||
fullName += "://"_ns + hostname;
|
if (fullName.EqualsLiteral("pop3")) {
|
||||||
|
fullName = "mailbox://"_ns + hostname;
|
||||||
|
} else {
|
||||||
|
fullName += "://"_ns + hostname;
|
||||||
|
}
|
||||||
if (!fullName.Equals(NS_ConvertUTF16toUTF8(hostnameInfo))) return NS_OK;
|
if (!fullName.Equals(NS_ConvertUTF16toUTF8(hostnameInfo))) return NS_OK;
|
||||||
}
|
}
|
||||||
rv = ForgetSessionPassword();
|
rv = ForgetSessionPassword();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче