diff options
author | Boris Fritscher <boris@fritscher.ch> | 2019-12-29 03:43:38 +0300 |
---|---|---|
committer | Boris Fritscher <boris@fritscher.ch> | 2020-01-08 16:46:11 +0300 |
commit | ffe16e631700ebb3ab9ac8bbdbfd7a983ea7192a (patch) | |
tree | 4b7005cbcf172dbf652d8330a3cf1b5e4441432b /lib/AppInfo | |
parent | f92a9468d3bea3840f0febb1fcea8340f2e614ac (diff) |
Implement contact group lookup and expansion
By adding a new GroupService implementation and copying some code of the ContactsIntegration.php
Signed-off-by: Boris Fritscher <boris@fritscher.ch>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r-- | lib/AppInfo/BootstrapSingleton.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AppInfo/BootstrapSingleton.php b/lib/AppInfo/BootstrapSingleton.php index 081fec202..3c6af088d 100644 --- a/lib/AppInfo/BootstrapSingleton.php +++ b/lib/AppInfo/BootstrapSingleton.php @@ -46,6 +46,7 @@ use OCA\Mail\Service\Attachment\AttachmentService; use OCA\Mail\Service\AvatarService; use OCA\Mail\Service\Group\IGroupService; use OCA\Mail\Service\Group\NextcloudGroupService; +use OCA\Mail\Service\Group\ContactsGroupService; use OCA\Mail\Service\MailManager; use OCA\Mail\Service\MailSearch; use OCA\Mail\Service\MailTransmission; @@ -115,6 +116,7 @@ class BootstrapSingleton { $container->registerMiddleWare('ProvisioningMiddleware'); $container->registerAlias(IGroupService::class, NextcloudGroupService::class); + $container->registerAlias(IGroupService::class, ContactsGroupService::class); } private function registerEvents(IAppContainer $container): void { |