Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Fritscher <boris@fritscher.ch>2019-12-29 03:43:38 +0300
committerBoris Fritscher <boris@fritscher.ch>2020-01-08 16:46:11 +0300
commitffe16e631700ebb3ab9ac8bbdbfd7a983ea7192a (patch)
tree4b7005cbcf172dbf652d8330a3cf1b5e4441432b /lib/AppInfo
parentf92a9468d3bea3840f0febb1fcea8340f2e614ac (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.php2
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 {