summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorcall-me-matt <nextcloud@matthiasheinisch.de>2020-08-22 06:49:09 +0200
committercall-me-matt <nextcloud@matthiasheinisch.de>2020-08-22 06:49:09 +0200
commit81b3885cb3bdac9b57ded6a317ed0adbd1845fc3 (patch)
tree4efe51b8e5bb18960dd30bb572c13c5f8c5e4494 /lib
parent1831bc4470ff551f16236c3f6d89368c8e6a4df2 (diff)
waiting for nextcloud/server#22085
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/SocialApiService.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/SocialApiService.php b/lib/Service/SocialApiService.php
index 0d08921a..51750e5c 100644
--- a/lib/Service/SocialApiService.php
+++ b/lib/Service/SocialApiService.php
@@ -333,8 +333,8 @@ class SocialApiService {
}
// get contacts in that addressbook
- if (Util::getVersion()[0] < 20) {
- //TODO: remove this branch when dependency for contacts is min NCv20 (see info.xml)
+ if (Util::getVersion()[0] < 21) {
+ //TODO: remove this branch when dependency for contacts is min NCv21 (see info.xml)
$contacts = $addressBook->search('', ['UID'], ['types' => true]);
} else {
$contacts = $addressBook->search('', ['X-SOCIALPROFILE'], ['types' => true]);