Skip to content

Commit 21c1287

Browse files
authored
Merge pull request #52241 from nextcloud/bugfix/noid/fix-room-or-resource-condition
fix(caldav): Fix check for ROOM or RESOURCE condition
2 parents de51425 + fe7c1c0 commit 21c1287

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/CalDAV/Schedule/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public function scheduleLocalDelivery(ITip\Message $iTipMessage):void {
261261
$principalUri = $aclPlugin->getPrincipalByUri($iTipMessage->recipient);
262262
$calendarUserType = $this->getCalendarUserTypeForPrincipal($principalUri);
263263
if (strcasecmp($calendarUserType, 'ROOM') !== 0 && strcasecmp($calendarUserType, 'RESOURCE') !== 0) {
264-
$this->logger->debug('Calendar user type is room or resource, not processing further');
264+
$this->logger->debug('Calendar user type is neither room nor resource, not processing further');
265265
return;
266266
}
267267

0 commit comments

Comments
 (0)