-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
Signed-off-by: SebastianKrupinski <[email protected]>
- Loading branch information
1 parent
60b6840
commit 591a20d
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -898,7 +898,7 @@ public function testImipDisabledForEvent(): void { | |
$event = $calendar->VEVENT; | ||
$event->add('ORGANIZER', 'mailto:[email protected]'); | ||
$event->add('ATTENDEE', 'mailto:' . '[email protected]', ['RSVP' => 'TRUE', 'CN' => 'Frodo']); | ||
$event->add('X-NC-DISABLE-SCHEDULING', '1'); | ||
$event->add('X-NC-DISABLE-SCHEDULING', 'true'); | ||
$message = new Message(); | ||
$message->method = 'REQUEST'; | ||
$message->message = $calendar; | ||
|
@@ -907,6 +907,6 @@ public function testImipDisabledForEvent(): void { | |
$message->recipient = 'mailto:' . '[email protected]'; | ||
|
||
$this->plugin->schedule($message); | ||
$this->assertEquals('1.0', $message->getScheduleStatus()); | ||
$this->assertEquals('1.0;We got the message, but iMip message are disabled for this event', $message->scheduleStatus); | ||
} | ||
} |