Skip to content

Commit

Permalink
Merge pull request #44938 from nextcloud/fix/remove-unknown-from-imip…
Browse files Browse the repository at this point in the history
…-service

fix(CalDAV): remove UNKNOWN from room / resource consideration
  • Loading branch information
miaulalala authored Apr 26, 2024
2 parents 9428286 + a28f264 commit 10af087
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 10af087

Please sign in to comment.