fix for #119331. prefer html problems with LDAP servers.

r=dmose, sr=sspitzer.  thanks for john.marmion@ireland.sun.com for the patch
and to Roland Felnhofer for the feedback in the bug.
This commit is contained in:
sspitzer%netscape.com 2002-01-24 04:16:03 +00:00
Родитель 1be72aadcb
Коммит f7aff5090a
2 изменённых файлов: 4 добавлений и 8 удалений

Просмотреть файл

@ -530,12 +530,12 @@ NS_IMETHODIMP nsAbCardProperty::SetCardValue(const char *attrname, const PRUnich
switch (attrname[2]) { switch (attrname[2]) {
case 'e': case 'e':
switch (value[0]) { switch (value[0]) {
case 'h': case 't': // "true"
case 'H': case 'T':
rv = SetPreferMailFormat(nsIAbPreferMailFormat::html); rv = SetPreferMailFormat(nsIAbPreferMailFormat::html);
break; break;
case 'p': case 'f': // "false"
case 'P': case 'F':
rv = SetPreferMailFormat(nsIAbPreferMailFormat::plaintext); rv = SetPreferMailFormat(nsIAbPreferMailFormat::plaintext);
break; break;
default: default:

Просмотреть файл

@ -172,10 +172,6 @@ static MozillaLdapPropertyRelation mozillaLdapPropertyTable[] =
{MozillaProperty_String, "Notes", "description"}, {MozillaProperty_String, "Notes", "description"},
// mozilla specfic // mozilla specfic
// use the more self-explanatory named attribute 'xmozillapreferredmailformat' to
// the now deprecated 'xmozillausehtmlmail' which sounds like it is a boolean value.
// We need to continue to include the 'xmozillausehtmlmail' for existing systems.
{MozillaProperty_Int, "PreferMailFormat", "xmozillapreferredmailformat"},
{MozillaProperty_Int, "PreferMailFormat", "xmozillausehtmlmail"}, {MozillaProperty_Int, "PreferMailFormat", "xmozillausehtmlmail"},
// ? // ?
{MozillaProperty_Int, "LastModifiedDate", "modifytimestamp"} {MozillaProperty_Int, "LastModifiedDate", "modifytimestamp"}