foreach ($vCard->children as $property) {
$result[$property->name] = $property->getValue();
}
+ if ($this->addressBookInfo['principaluri'] === 'principals/system/system' &&
+ $this->addressBookInfo['uri'] === 'system') {
+ $result['isLocalSystemBook'] = true;
+ }
return $result;
}
}
$addressBookContacts = $this->contactsManager->search($search, ['CLOUD', 'FN']);
$foundRemoteById = false;
foreach ($addressBookContacts as $contact) {
+ if (isset($contact['isLocalSystemBook'])) {
+ continue;
+ }
if (isset($contact['CLOUD'])) {
$cloudIds = $contact['CLOUD'];
if (!is_array($cloudIds)) {