Fix lpConfigBoolForKey:@"account_push_presence_preference"

This commit is contained in:
benoit.martins 2023-05-17 11:25:14 +02:00 committed by Benoit Martins
parent dbc93b7cf0
commit fd58ddf276

View file

@ -525,7 +525,7 @@
// contacts section
{
[self setInteger:[lm lpConfigIntForKey:@"account_push_presence_preference" withDefault:1] forKey:@"account_push_presence_preference"];
[self setInteger:[lm lpConfigBoolForKey:@"account_push_presence_preference" withDefault:YES] forKey:@"account_push_presence_preference"];
if (linphone_core_ldap_available(LC)) {
[self transformLdapToKeys:nil];
}