Skip to content

Commit

Permalink
adding social profile to search index
Browse files Browse the repository at this point in the history
required in order to optimize regular background updates of contact avatars from social networks (see nextcloud/contacts#1722 (comment))
  • Loading branch information
call-me-matt authored Aug 2, 2020
1 parent 4cf0f37 commit 4679e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/dav/lib/CardDAV/CardDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4679e85

Please sign in to comment.