fix for #13767. new nntp accounts should have text compose for the default.

the user can always override this in the account manager.
if it was a migrate account, we use what ever they had set in 4.x


git-svn-id: svn://10.0.0.236/trunk@56531 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-12-24 05:07:30 +00:00
parent 7b76dd9716
commit 9c877bbf2b

View File

@@ -240,6 +240,12 @@ function createAccount(hash) {
smtpService.defaultServer.hostname = hash[i];
}
/* new nntp identities should use plain text by default
* we wan't that GNKSA (The Good Net-Keeping Seal of Approval) */
if (type == "nntp") {
identity.composeHtml = false;
}
var account = am.createAccount();
account.incomingServer = server;
account.addIdentity(identity);