From 190a71ecf9a39ea31c8296798a2011352b7394b2 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sat, 5 Feb 2022 19:55:23 +0100 Subject: Expose additional emails in {DAV:}alternate-URI-set This allows iMip invitations to be send with an alternative email as "Reply-To" field. Closes #27201 Signed-off-by: Thomas Citharel --- apps/dav/lib/RootCollection.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/dav/lib/RootCollection.php') diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index 8a11a676609..359037587a5 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -43,6 +43,7 @@ use OCA\DAV\DAV\GroupPrincipalBackend; use OCA\DAV\DAV\SystemPrincipalBackend; use OCA\DAV\Provisioning\Apple\AppleProvisioningNode; use OCA\DAV\Upload\CleanupService; +use OCP\Accounts\IAccountManager; use OCP\App\IAppManager; use OCP\AppFramework\Utility\ITimeFactory; use OCP\EventDispatcher\IEventDispatcher; @@ -68,6 +69,7 @@ class RootCollection extends SimpleCollection { $userPrincipalBackend = new Principal( $userManager, $groupManager, + \OC::$server->get(IAccountManager::class), $shareManager, \OC::$server->getUserSession(), \OC::$server->getAppManager(), -- cgit v1.2.3