Skip to content

Commit 5e9da1b

Browse files
miaulalalabackportbot[bot]
authored andcommitted
fix(CalDAV): remove UNKNOWN from room / resource consideration
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 parent 6c132af commit 5e9da1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ public function isRoomOrResource(Property $attendee): bool {
680680
return false;
681681
}
682682
$type = $cuType->getValue() ?? 'INDIVIDUAL';
683-
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM', 'UNKNOWN'], true)) {
683+
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM'], true)) {
684684
// Don't send emails to things
685685
return true;
686686
}

0 commit comments

Comments
 (0)