From e32ea9ab3738071b330e52be1947c19d64de8704 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Fri, 19 Apr 2024 21:22:17 +0200 Subject: [PATCH] fix(CalDAV): remove UNKNOWN from room / resource consideration Signed-off-by: Anna Larch --- apps/dav/lib/CalDAV/Schedule/IMipService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/CalDAV/Schedule/IMipService.php b/apps/dav/lib/CalDAV/Schedule/IMipService.php index 4cd859d79ac0a..95c6b5739af28 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipService.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipService.php @@ -682,7 +682,7 @@ public function isRoomOrResource(Property $attendee): bool { return false; } $type = $cuType->getValue() ?? 'INDIVIDUAL'; - if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM', 'UNKNOWN'], true)) { + if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM'], true)) { // Don't send emails to things return true; }