Browse Source
Fix local users check in contacts menu
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v14.0.0beta1
Christoph Wurst
6 years ago
No account linked to committer's email address
|
|
@@ -200,7 +200,8 @@ class ContactsStore implements IContactsStore { |
|
|
|
} |
|
|
|
} |
|
|
|
if ($shareType === 0 || $shareType === 6) { |
|
|
|
if ($contact['UID'] === $shareWith && $contact['isLocalSystemBook'] === true) { |
|
|
|
$isLocal = $contact['isLocalSystemBook'] ?? false; |
|
|
|
if ($contact['UID'] === $shareWith && $isLocal === true) { |
|
|
|
$match = $contact; |
|
|
|
break; |
|
|
|
} |