mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
skip scheduling attendees with schedule-agent set to something other than server
Signed-off-by: Rob Ostensen <rob@boxacle.net>
This commit is contained in:
parent
ddfcf8c766
commit
b947e1c7e2
@ -339,6 +339,11 @@ function do_scheduling_requests( vCalendar $resource, $create ) {
|
||||
dbg_error_log( "PUT", "not delivering to owner" );
|
||||
continue;
|
||||
}
|
||||
$agent = $attendee->GetParameterValue('SCHDEULE-AGENT');
|
||||
if ( $agent && $agent != 'SERVER' ) {
|
||||
dbg_error_log( "PUT", "not delivering to %s, schedule agent set to value other than server", $email );
|
||||
continue;
|
||||
}
|
||||
$schedule_target = new Principal('email',$email);
|
||||
if ( $schedule_target->Exists() ) {
|
||||
$attendee_calendar = new WritableCollection(array('path' => $schedule_target->internal_url('schedule-default-calendar')));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user