aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-04-17 11:36:24 +0200
committerJoas Schilling <coding@schilljs.com>2025-04-22 11:02:13 +0200
commitfe7c1c0aadb6cc82bb62078ec03cf48ce486a186 (patch)
tree0723af3e13315f7f6a30c51d1253166ba1b717c9
parent253a7410137f445db1e89cd65db802325914465d (diff)
downloadnextcloud-server-bugfix/noid/fix-room-or-resource-condition.tar.gz
nextcloud-server-bugfix/noid/fix-room-or-resource-condition.zip
fix(caldav): Fix check for ROOM or RESOURCE commentbugfix/noid/fix-room-or-resource-condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/dav/lib/CalDAV/Schedule/Plugin.php2
1 files changed, 1 insertions, 1 deletions
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;
}