mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Only responde with freebusy to a VFREEBUSY request.
This commit is contained in:
parent
d5a60406bf
commit
878f71e999
@ -213,8 +213,12 @@ $resources = $ical->GetComponents('VTIMEZONE',false);
|
||||
$first = $resources[0];
|
||||
switch ( $method ) {
|
||||
case 'REQUEST':
|
||||
dbg_error_log("POST", "Handling iTIP 'REQUEST' method.", $method );
|
||||
handle_freebusy_request( $first );
|
||||
dbg_error_log('POST', 'Handling iTIP "REQUEST" method with "%s" component.', $method, $first->GetType() );
|
||||
if ( $first->GetType() == 'VFREEBUSY' )
|
||||
handle_freebusy_request( $first );
|
||||
else {
|
||||
dbg_error_log('POST', 'Ignoring iTIP "REQUEST" with "%s" component.', $first->GetType() );
|
||||
}
|
||||
break;
|
||||
|
||||
case 'CANCEL':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user