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]) {
case 'e':
switch (value[0]) {
case 'h':
case 'H':
case 't': // "true"
case 'T':
rv = SetPreferMailFormat(nsIAbPreferMailFormat::html);
break;
case 'p':
case 'P':
case 'f': // "false"
case 'F':
rv = SetPreferMailFormat(nsIAbPreferMailFormat::plaintext);
break;
default:

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

@ -172,10 +172,6 @@ static MozillaLdapPropertyRelation mozillaLdapPropertyTable[] =
{MozillaProperty_String, "Notes", "description"},
// 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, "LastModifiedDate", "modifytimestamp"}