From fe7c1c0aadb6cc82bb62078ec03cf48ce486a186 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 17 Apr 2025 11:36:24 +0200 Subject: [PATCH] fix(caldav): Fix check for ROOM or RESOURCE comment Signed-off-by: Joas Schilling --- apps/dav/lib/CalDAV/Schedule/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/Schedule/Plugin.php b/apps/dav/lib/CalDAV/Schedule/Plugin.php index abb3f578d04..da0f9ea5637 100644 --- a/apps/dav/lib/CalDAV/Schedule/Plugin.php +++ b/apps/dav/lib/CalDAV/Schedule/Plugin.php @@ -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; }