Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions apps/dav/lib/CalDAV/Activity/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ public function onTouchCalendarObject($action, array $calendarData, array $share
$currentUser = $owner;
}

$classification = (isset($objectData['classification']) ? $objectData['classification'] : 0);

$object = $this->getObjectNameAndType($objectData);
$action = $action . '_' . $object['type'];

Expand Down Expand Up @@ -450,6 +452,9 @@ public function onTouchCalendarObject($action, array $calendarData, array $share
],
]
);
if ($classification !== 0 && $user !== $owner) {
continue;
}
$this->activityManager->publish($event);
}
}
Expand Down