Skip to content

Commit

Permalink
fix(CalDAV): remove UNKNOWN from room / resource consideration
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <anna@nextcloud.com>
  • Loading branch information
miaulalala authored and backportbot[bot] committed Apr 26, 2024
1 parent 4006d99 commit 472390c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Schedule/IMipService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 472390c

Please sign in to comment.