mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Add x-owncloud-handle by default
This commit is contained in:
parent
2835402b57
commit
17d7ed7e99
@ -206,7 +206,7 @@ class LocalUsers extends AbstractBackend {
|
|||||||
$appversion = \OCP\App::getAppVersion('contacts');
|
$appversion = \OCP\App::getAppVersion('contacts');
|
||||||
$prodid = '-//ownCloud//NONSGML ' . $appinfo['name'] . ' ' . $appversion.'//EN';
|
$prodid = '-//ownCloud//NONSGML ' . $appinfo['name'] . ' ' . $appversion.'//EN';
|
||||||
$vcard->PRODID = $prodid;
|
$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()));
|
$result = $query->execute(array($user, $this->userid, \OCP\User::getDisplayName($user), $vcard->serialize(), time()));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user