From 0944477091870c8b9151df6c569e6de0c3b5352d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 18 Oct 2024 21:39:38 +0200 Subject: [PATCH] feat(emails): Support email guests Signed-off-by: Joas Schilling --- lib/Controller/BotController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/BotController.php b/lib/Controller/BotController.php index 6ddf6cc..4917fab 100644 --- a/lib/Controller/BotController.php +++ b/lib/Controller/BotController.php @@ -148,7 +148,7 @@ public function receiveWebhook(string $lang): DataResponse { $logEntry->setType(LogEntry::TYPE_ATTENDEE); $displayName = $data['actor']['name']; - if (str_starts_with($data['actor']['id'], 'guests/')) { + if (str_starts_with($data['actor']['id'], 'guests/') || str_starts_with($data['actor']['id'], 'emails/')) { if ($displayName === '') { return new DataResponse(); }