summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-12 01:00:12 +0200
committerGitHub <noreply@github.com>2023-07-12 01:00:12 +0200
commit8adad15e7779fd13a65f0b544dcdf47374faa471 (patch)
treed57351e0bbdb0cb13710f52f56d403e6ae3fc226 /apps/dav
parentbb66a5eea4848745812606b877f91bed05ee14eb (diff)
parente44cd0f080f968a970c447bea72f6f18ae1b34f4 (diff)
downloadnextcloud-server-8adad15e7779fd13a65f0b544dcdf47374faa471.tar.gz
nextcloud-server-8adad15e7779fd13a65f0b544dcdf47374faa471.zip
Merge pull request #38475 from nextcloud/backport/38454/stable27
[stable27] fix(carddav): Make system contact phone number RFC compliant
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/CardDAV/Converter.php2
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