]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(CalDAV): remove UNKNOWN from room / resource consideration 45053/head
authorAnna Larch <anna@nextcloud.com>
Fri, 19 Apr 2024 19:22:17 +0000 (21:22 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 26 Apr 2024 11:20:08 +0000 (11:20 +0000)
Signed-off-by: Anna Larch <anna@nextcloud.com>
apps/dav/lib/CalDAV/Schedule/IMipService.php

index 4cd859d79ac0a06b24f35dd43ca2e23d347cb176..95c6b5739af283deac9ff8ae6d7cf4d8d42de034 100644 (file)
@@ -682,7 +682,7 @@ class IMipService {
                        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;
                }