зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1be72aadcb
Коммит
f7aff5090a
|
@ -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"}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче