fix(caldav): Fix check for ROOM or RESOURCE comment

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/52241/head
Joas Schilling 2025-04-17 11:36:24 +07:00
parent 253a741013
commit fe7c1c0aad
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
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;
}