File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -6,19 +6,15 @@ class BrokerAttendeeReplyTest extends BrokerTester
66{
77 public function testAccepted (): void
88 {
9- $ oldMessage = <<<ICS
10- BEGIN:VCALENDAR
11- VERSION:2.0
12- BEGIN:VEVENT
13- UID:foobar
14- SUMMARY:B-day party
15- SEQUENCE:1
16- ORGANIZER;CN=Strunk:mailto:strunk@example.org
17- ATTENDEE;CN=One:mailto:one@example.org
18- DTSTART:20140716T120000Z
19- END:VEVENT
20- END:VCALENDAR
21- ICS ;
9+ // If $oldMessage is not set, in some cases an iTip message
10+ // still needs to be generated; this happens when partstat
11+ // differs from NEEDS-ACTION. For example, this is relevant in
12+ // cases where a CalDAV client has received a calendar invite
13+ // in some way, and the user of the client accepts
14+ // participation before the upload. Also see
15+ // https://github.com/sabre-io/vobject/issues/719
16+
17+ $ oldMessage = '' ;
2218
2319 $ newMessage = <<<ICS
2420BEGIN:VCALENDAR
You can’t perform that action at this time.
0 commit comments