diff options
author | Leon Klingele <leon@struktur.de> | 2017-09-07 17:33:45 +0300 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-11-03 13:19:39 +0300 |
commit | c899f352615f498b183a020e5dcd6f9b1190db1f (patch) | |
tree | 98bcecda183ea01011b1d0a4e2963715b2b2023c /apps/dav/appinfo/v1 | |
parent | b3ff9a2248f18fac4b2a9ffa5be99c464effb4b6 (diff) |
DAV: Initial email customization support
Signed-Off-By: Leon Klingele <leon@struktur.de>
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/appinfo/v1')
-rw-r--r-- | apps/dav/appinfo/v1/caldav.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index a103f82a420..cb10b038051 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -87,9 +87,16 @@ $server->addPlugin(new \Sabre\CalDAV\ICSExportPlugin()); $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\Plugin()); if ($sendInvitations) { - $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin( \OC::$server->getMailer(), \OC::$server->getLogger(), new \OC\AppFramework\Utility\TimeFactory())); + $server->addPlugin(new \OCA\DAV\CalDAV\Schedule\IMipPlugin( + 'dav', // TODO(leon): Retrieve dynamically, but where to find it? :( + \OC::$server->getUserSession()->getUser()->getUID(), + \OC::$server->getConfig(), + \OC::$server->getMailer(), + \OC::$server->getLogger(), + new \OC\AppFramework\Utility\TimeFactory(), + \OC::$server->getL10NFactory() + )); } - $server->addPlugin(new ExceptionLoggerPlugin('caldav', \OC::$server->getLogger())); // And off we go! |