mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
fix(caldav): Fix check for ROOM or RESOURCE comment
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
253a741013
commit
fe7c1c0aad
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class Plugin extends \Sabre\CalDAV\Schedule\Plugin {
|
|||
$principalUri = $aclPlugin->getPrincipalByUri($iTipMessage->recipient);
|
||||
$calendarUserType = $this->getCalendarUserTypeForPrincipal($principalUri);
|
||||
if (strcasecmp($calendarUserType, 'ROOM') !== 0 && strcasecmp($calendarUserType, 'RESOURCE') !== 0) {
|
||||
$this->logger->debug('Calendar user type is room or resource, not processing further');
|
||||
$this->logger->debug('Calendar user type is neither room nor resource, not processing further');
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue