diff options
author | greta <gretadoci@gmail.com> | 2023-05-25 10:01:49 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-10 18:21:33 +0200 |
commit | e44cd0f080f968a970c447bea72f6f18ae1b34f4 (patch) | |
tree | 154e6e720f47d6190da7d09470fce6505bcf2fee /apps/dav | |
parent | 0a876e3ac8138dc8d4734a2491284798c300fdd6 (diff) | |
download | nextcloud-server-e44cd0f080f968a970c447bea72f6f18ae1b34f4.tar.gz nextcloud-server-e44cd0f080f968a970c447bea72f6f18ae1b34f4.zip |
fix(carddav): Make system contact phone number RFC compliant
Signed-off-by: greta <gretadoci@gmail.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CardDAV/Converter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CardDAV/Converter.php b/apps/dav/lib/CardDAV/Converter.php index 254c8015acf..b3d8b094d69 100644 --- a/apps/dav/lib/CardDAV/Converter.php +++ b/apps/dav/lib/CardDAV/Converter.php @@ -89,7 +89,7 @@ class Converter { $vCard->add(new Text($vCard, 'URL', $property->getValue(), ['X-NC-SCOPE' => $scope])); break; case IAccountManager::PROPERTY_PHONE: - $vCard->add(new Text($vCard, 'TEL', $property->getValue(), ['TYPE' => 'OTHER', 'X-NC-SCOPE' => $scope])); + $vCard->add(new Text($vCard, 'TEL', $property->getValue(), ['TYPE' => 'VOICE', 'X-NC-SCOPE' => $scope])); break; case IAccountManager::PROPERTY_ADDRESS: // structured prop: https://www.rfc-editor.org/rfc/rfc6350.html#section-6.3.1 |