add default pref for password protecting local hdr cache, 214402, r=scott, sr/a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@145747 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e282c49922
commit
37ee45aad0
@ -211,7 +211,13 @@ function ChangeFolderByURI(uri, viewType, viewFlags, sortType, sortOrder)
|
||||
var showMessagesAfterLoading;
|
||||
try {
|
||||
var server = msgfolder.server;
|
||||
if (server.redirectorType) {
|
||||
if (gPrefs.getBoolPref("mail.password_protect_local_cache"))
|
||||
{
|
||||
showMessagesAfterLoading = !server.isAuthenticated;
|
||||
// servers w/o passwords (like local mail) will always be non-authenticated.
|
||||
// So we need to use the account manager for that case.
|
||||
}
|
||||
else if (server.redirectorType) {
|
||||
var prefString = server.type + "." + server.redirectorType + ".showMessagesAfterLoading";
|
||||
showMessagesAfterLoading = gPrefs.getBoolPref(prefString);
|
||||
}
|
||||
|
||||
@ -534,6 +534,8 @@ pref("mail.compose.add_undisclosed_recipients", true);
|
||||
pref("mail.purge.min_delay",480);
|
||||
pref("mail.purge.timer_interval",5);
|
||||
|
||||
// require a password before showing imap or local headers in thread pane
|
||||
pref("mail.password_protect_local_cache", false);
|
||||
// to reduce forking in the js / C++
|
||||
// overridden by stand alone mail
|
||||
pref("mail.standalone", false);
|
||||
|
||||
@ -534,6 +534,8 @@ pref("mail.compose.add_undisclosed_recipients", true);
|
||||
pref("mail.purge.min_delay",480);
|
||||
pref("mail.purge.timer_interval",5);
|
||||
|
||||
// require a password before showing imap or local headers in thread pane
|
||||
pref("mail.password_protect_local_cache", false);
|
||||
// to reduce forking in the js / C++
|
||||
// overridden by stand alone mail
|
||||
pref("mail.standalone", false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user