From 17d7ed7e9913955f4d5c5d9db661087b68ebaab1 Mon Sep 17 00:00:00 2001 From: LEDfan Date: Sun, 6 Apr 2014 08:21:24 +0200 Subject: [PATCH] Add x-owncloud-handle by default --- lib/backend/localusers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend/localusers.php b/lib/backend/localusers.php index d2c679b0..9eceda90 100644 --- a/lib/backend/localusers.php +++ b/lib/backend/localusers.php @@ -206,7 +206,7 @@ class LocalUsers extends AbstractBackend { $appversion = \OCP\App::getAppVersion('contacts'); $prodid = '-//ownCloud//NONSGML ' . $appinfo['name'] . ' ' . $appversion.'//EN'; $vcard->PRODID = $prodid; - + $vcard->add('IMPP', 'x-owncloud-handle:' . $user, array("X-SERVICE-TYPE" => array("owncloud-handle"))); $result = $query->execute(array($user, $this->userid, \OCP\User::getDisplayName($user), $vcard->serialize(), time()));