mirror of
https://github.com/nextcloud/server.git
synced 2026-02-25 02:44:57 -05:00
fix(carddav): Make system contact phone number RFC compliant
Signed-off-by: greta <gretadoci@gmail.com>
This commit is contained in:
parent
0a876e3ac8
commit
e44cd0f080
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue