Skip Mail calendar sync for Meet rooms created by Ladill Events.
Deploy Ladill Meet / deploy (push) Successful in 2m1s
Deploy Ladill Meet / deploy (push) Successful in 2m1s
Events owns calendar entries for events-sourced rooms so virtual sessions do not duplicate on the webmail calendar. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -200,6 +200,11 @@ class Room extends Model
|
||||
return \App\Support\EventsSourceLink::isLinked($this);
|
||||
}
|
||||
|
||||
public function isEventsSourced(): bool
|
||||
{
|
||||
return (($this->source ?? [])['app'] ?? '') === 'events';
|
||||
}
|
||||
|
||||
public function hasEventsRegistrationInvite(?string $email): bool
|
||||
{
|
||||
if ($email === null || trim($email) === '') {
|
||||
|
||||
Reference in New Issue
Block a user