summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt <34400929+call-me-matt@users.noreply.github.com>2020-08-02 14:16:50 +0200
committerGitHub <noreply@github.com>2020-08-02 14:16:50 +0200
commit4679e850766766df6a9900014b636659982b8874 (patch)
tree043ffc3f0847297b271869c37af692bfa601c194
parent4cf0f37387d10a8f0720c76cc2dbc8b8cf5bb466 (diff)
downloadnextcloud-server-4679e850766766df6a9900014b636659982b8874.tar.gz
nextcloud-server-4679e850766766df6a9900014b636659982b8874.zip
adding social profile to search index
required in order to optimize regular background updates of contact avatars from social networks (see https://github.com/nextcloud/contacts/pull/1722#discussion_r463782429)
-rw-r--r--apps/dav/lib/CardDAV/CardDavBackend.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php
index 9d602025c7a..9895b95e57e 100644
--- a/apps/dav/lib/CardDAV/CardDavBackend.php
+++ b/apps/dav/lib/CardDAV/CardDavBackend.php
@@ -77,7 +77,8 @@ class CardDavBackend implements BackendInterface, SyncSupport {
/** @var array properties to index */
public static $indexProperties = [
'BDAY', 'UID', 'N', 'FN', 'TITLE', 'ROLE', 'NOTE', 'NICKNAME',
- 'ORG', 'CATEGORIES', 'EMAIL', 'TEL', 'IMPP', 'ADR', 'URL', 'GEO', 'CLOUD'];
+ 'ORG', 'CATEGORIES', 'EMAIL', 'TEL', 'IMPP', 'ADR', 'URL', 'GEO',
+ 'CLOUD', 'X-SOCIALPROFILE'];
/**
* @var string[] Map of uid => display name