mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Add URI type to VCard
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
This commit is contained in:
parent
9475cc02b2
commit
458f1b0c03
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class AddressBookImpl implements IAddressBook {
|
|||
];
|
||||
|
||||
foreach ($vCard->children() as $property) {
|
||||
if ($property->name === 'PHOTO' && $property->getValueType() === 'BINARY') {
|
||||
if ($property->name === 'PHOTO' && in_array($property->getValueType(), ['BINARY', 'URI'])) {
|
||||
$url = $this->urlGenerator->getAbsoluteURL(
|
||||
$this->urlGenerator->linkTo('', 'remote.php') . '/dav/');
|
||||
$url .= implode('/', [
|
||||
|
|
|
|||
Loading…
Reference in a new issue