Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix regression
make sure to only hide calendar events, not todos
show all events in owner activity log

Signed-off-by: Fabian Dellwing <[email protected]>
  • Loading branch information
Fabian Dellwing committed Jan 3, 2019
commit d124d722c5a58b3182f8329695724df25203ce92
5 changes: 3 additions & 2 deletions apps/dav/lib/CalDAV/Activity/Backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,10 @@ public function onTouchCalendarObject($action, array $calendarData, array $share
],
]
);
if ($event->getType() === 'calendar_event' && $classification === 0) {
$this->activityManager->publish($event);
if ($event->getType() === 'calendar_event' && $classification !== 0 && $user !== $owner) {
continue;
}
$this->activityManager->publish($event);
}
}

Expand Down