Skip to content

Commit a023647

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

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
@@ -682,7 +682,7 @@ public function isRoomOrResource(Property $attendee): bool {
682682
return false;
683683
}
684684
$type = $cuType->getValue() ?? 'INDIVIDUAL';
685-
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM', 'UNKNOWN'], true)) {
685+
if (\in_array(strtoupper($type), ['RESOURCE', 'ROOM'], true)) {
686686
// Don't send emails to things
687687
return true;
688688
}

0 commit comments

Comments
 (0)