summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/AppInfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-05-21 15:01:18 +0200
committerJoas Schilling <coding@schilljs.com>2021-05-21 15:08:35 +0200
commit6fff0b81fe40a744d1e906012f32ebbd039528c1 (patch)
tree646a1b0e26bf51cd7683fd488fe22372b9826c64 /apps/dav/lib/AppInfo
parent2496f83463312561c72c75b7e496a999365df764 (diff)
downloadnextcloud-server-6fff0b81fe40a744d1e906012f32ebbd039528c1.tar.gz
nextcloud-server-6fff0b81fe40a744d1e906012f32ebbd039528c1.zip
Add activities for creating, updating and deleting contacts
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/AppInfo')
-rw-r--r--apps/dav/lib/AppInfo/Application.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php
index 16615f59b05..d6c20f81d96 100644
--- a/apps/dav/lib/AppInfo/Application.php
+++ b/apps/dav/lib/AppInfo/Application.php
@@ -62,12 +62,16 @@ use OCA\DAV\Events\CalendarObjectDeletedEvent;
use OCA\DAV\Events\CalendarObjectUpdatedEvent;
use OCA\DAV\Events\CalendarShareUpdatedEvent;
use OCA\DAV\Events\CalendarUpdatedEvent;
+use OCA\DAV\Events\CardCreatedEvent;
+use OCA\DAV\Events\CardDeletedEvent;
+use OCA\DAV\Events\CardUpdatedEvent;
use OCA\DAV\HookManager;
use OCA\DAV\Listener\ActivityUpdaterListener;
use OCA\DAV\Listener\AddressbookListener;
use OCA\DAV\Listener\CalendarContactInteractionListener;
use OCA\DAV\Listener\CalendarDeletionDefaultUpdaterListener;
use OCA\DAV\Listener\CalendarObjectReminderUpdaterListener;
+use OCA\DAV\Listener\CardListener;
use OCA\DAV\Search\ContactsSearchProvider;
use OCA\DAV\Search\EventsSearchProvider;
use OCA\DAV\Search\TasksSearchProvider;
@@ -141,6 +145,9 @@ class Application extends App implements IBootstrap {
$context->registerEventListener(AddressBookDeletedEvent::class, AddressbookListener::class);
$context->registerEventListener(AddressBookUpdatedEvent::class, AddressbookListener::class);
$context->registerEventListener(AddressBookShareUpdatedEvent::class, AddressbookListener::class);
+ $context->registerEventListener(CardCreatedEvent::class, CardListener::class);
+ $context->registerEventListener(CardDeletedEvent::class, CardListener::class);
+ $context->registerEventListener(CardUpdatedEvent::class, CardListener::class);
$context->registerNotifierService(Notifier::class);
}