diff options
author | Anna Larch <anna@nextcloud.com> | 2023-07-21 12:33:00 +0200 |
---|---|---|
committer | Anna <anna@nextcloud.com> | 2023-08-16 09:11:01 +0200 |
commit | 6bd78917d31ab9932a9f394197007feea46bcbd8 (patch) | |
tree | 00d2cca98a1c82485c82fab4dc3ce54787c61c2d /apps/dav/lib/Connector/Sabre/Principal.php | |
parent | 091c1edd21f5736523f9243b88580896fd6aec82 (diff) | |
download | nextcloud-server-6bd78917d31ab9932a9f394197007feea46bcbd8.tar.gz nextcloud-server-6bd78917d31ab9932a9f394197007feea46bcbd8.zip |
fix(CardDAV): set owner-principal, displayname properties for SAB
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/Principal.php')
-rw-r--r-- | apps/dav/lib/Connector/Sabre/Principal.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/Principal.php b/apps/dav/lib/Connector/Sabre/Principal.php index 0a882288314..b1f1da6f63d 100644 --- a/apps/dav/lib/Connector/Sabre/Principal.php +++ b/apps/dav/lib/Connector/Sabre/Principal.php @@ -208,6 +208,11 @@ class Principal implements BackendInterface { '{DAV:}displayname' => $group->getDisplayName(), ]; } + } elseif ($prefix === 'principals/system') { + return [ + 'uri' => 'principals/system/' . $name, + '{DAV:}displayname' => $this->languageFactory->get('dav')->t("Accounts"), + ]; } return null; } |