From 6fff0b81fe40a744d1e906012f32ebbd039528c1 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 21 May 2021 15:01:18 +0200 Subject: Add activities for creating, updating and deleting contacts Signed-off-by: Joas Schilling --- apps/dav/lib/AppInfo/Application.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/dav/lib/AppInfo') 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); } -- cgit v1.2.3