Skip to content

Commit

Permalink
fixup! feat(ocp): add calendar api to retrieve availability of attendees
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Jan 11, 2025
1 parent dcb17e3 commit 946b279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/public/Calendar/IManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ public function handleIMipCancel(string $principalUri, string $sender, ?string $
public function createEventBuilder(): ICalendarEventBuilder;

/**
* Check the availability of the given attendees in the given time range.
* Check the availability of the given organizer and attendees in the given time range.
*
* @since 31.0.0
*
* @param IUser $organizer The organizing user from whose perspective to do the availability check.
* @param string[] $attendees Email addresses of attendees to check for (with or without a "mailto:" prefix). Only users on this instance can be checked. The rest will be silently ignored.
* @return IAvailabilityResult[] Availabilities of all attendees which are also users on this instance. As such, the array might not contain an entry for each given attendee.
* @return IAvailabilityResult[] Availabilities of the organizer and all attendees which are also users on this instance. As such, the array might not contain an entry for each given attendee.
*/
public function checkAvailability(
DateTimeInterface $start,
Expand Down
1 change: 0 additions & 1 deletion tests/lib/Calendar/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
use Sabre\HTTP\RequestInterface;
use Sabre\HTTP\ResponseInterface;
use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\Component\VFreeBusy;
use Sabre\VObject\Document;
use Sabre\VObject\Reader;
use Test\TestCase;
Expand Down

0 comments on commit 946b279

Please sign in to comment.