diff options
Diffstat (limited to 'apps/dav/lib/CalDAV/Activity/Backend.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Activity/Backend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Backend.php b/apps/dav/lib/CalDAV/Activity/Backend.php index 6e4da340c9a..1c1637cd562 100644 --- a/apps/dav/lib/CalDAV/Activity/Backend.php +++ b/apps/dav/lib/CalDAV/Activity/Backend.php @@ -427,7 +427,7 @@ class Backend { $event = $this->activityManager->generateEvent(); $event->setApp('dav') ->setObject(Extension::CALENDAR, $calendarId) - ->setType(Extension::CALENDAR) + ->setType($object['type'] === 'event' ? Extension::CALENDAR_EVENT : Extension::CALENDAR_TODO) ->setAuthor($currentUser); $users = $this->getUsersForCalendar($calendarId); |