mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-26 02:44:29 +00:00
Confidential resources should retain more reccurence information
To allow for correct expansion of recurring confidential information we also need to retain EXDATE, RECURRENCE-ID and SEQUENCE, otherwise client side expansion may well be wrong. Closes #291
This commit is contained in:
parent
720eb89adb
commit
ea2a75d86b
@ -22,6 +22,9 @@ function obfuscated_event( $icalendar ) {
|
||||
$confidential->AddProperty( 'CLASS', 'CONFIDENTIAL' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('DTSTART'), 'DTSTART' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('RRULE'), 'RRULE' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('EXDATE'), 'EXDATE' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('RECURRENCE-ID'), 'RECURRENCE-ID' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('SEQUENCE'), 'SEQUENCE' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('DURATION'), 'DURATION' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('DTEND'), 'DTEND' );
|
||||
$confidential->SetProperties( $icalendar->GetProperties('UID'), 'UID' );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user