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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-05-27 16:32:17 +0300
committerJoas Schilling <coding@schilljs.com>2021-08-24 17:55:33 +0300
commitdf185fba5f076c640e67524c5f19ee53a4a00cd9 (patch)
tree960b3ef011d4a63cd7b001b26a52b79f8b9f6156 /lib/AppInfo
parent88934fa75b06b9806cc05e4bf21e28b412fb7d4a (diff)
Start circle tracking support
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index a5b7ee050..e062e11b2 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -23,6 +23,8 @@ declare(strict_types=1);
namespace OCA\Talk\AppInfo;
+use OCA\Circles\Events\CircleDestroyedEvent;
+use OCA\Circles\Events\CircleMemberAddedEvent;
use OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent;
use OCA\Talk\Activity\Listener as ActivityListener;
use OCA\Talk\Capabilities;
@@ -45,6 +47,7 @@ use OCA\Talk\Files\Listener as FilesListener;
use OCA\Talk\Files\TemplateLoader as FilesTemplateLoader;
use OCA\Talk\Flow\RegisterOperationsListener;
use OCA\Talk\Listener\BeforeUserLoggedOutListener;
+use OCA\Talk\Listener\CircleDeletedListener;
use OCA\Talk\Listener\CSPListener;
use OCA\Talk\Listener\FeaturePolicyListener;
use OCA\Talk\Listener\GroupDeletedListener;
@@ -116,6 +119,8 @@ class Application extends App implements IBootstrap {
$context->registerEventListener(AttendeesAddedEvent::class, SystemMessageListener::class);
$context->registerEventListener(AttendeesRemovedEvent::class, SystemMessageListener::class);
+ $context->registerEventListener(CircleDestroyedEvent::class, CircleDeletedListener::class);
+
$context->registerSearchProvider(ConversationSearch::class);
$context->registerSearchProvider(CurrentMessageSearch::class);
$context->registerSearchProvider(MessageSearch::class);