diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-07-12 01:00:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 01:00:12 +0200 |
commit | 8adad15e7779fd13a65f0b544dcdf47374faa471 (patch) | |
tree | d57351e0bbdb0cb13710f52f56d403e6ae3fc226 /apps/dav | |
parent | bb66a5eea4848745812606b877f91bed05ee14eb (diff) | |
parent | e44cd0f080f968a970c447bea72f6f18ae1b34f4 (diff) | |
download | nextcloud-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.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 |