Skip to content

Commit

Permalink
Merge pull request #45053 from nextcloud/backport/44938/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(CalDAV): remove UNKNOWN from room / resource consideration
  • Loading branch information
st3iny authored Apr 26, 2024
2 parents 3496a7e + e32ea9a commit 70af653
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 70af653

Please sign in to comment.