From 009b75f6ae8352ab0f49a9e1f58509e5748af41f Mon Sep 17 00:00:00 2001 From: SebastianKrupinski Date: Tue, 17 Sep 2024 11:14:37 -0400 Subject: [PATCH] fixup! feat: add iMip Request Handling Signed-off-by: SebastianKrupinski --- lib/Service/IMipService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/IMipService.php b/lib/Service/IMipService.php index a8c48dfc63..2769409402 100644 --- a/lib/Service/IMipService.php +++ b/lib/Service/IMipService.php @@ -135,7 +135,7 @@ public function process(): void { $sender = $imapMessage->getFrom()->first()->getEmail(); $recipient = $account->getEmail(); foreach ($imapMessage->scheduling as $schedulingInfo) { // an IMAP message could contain more than one iMIP object - if ($schedulingInfo['method'] === 'REQUEST') { + if ($schedulingInfo['method'] === 'REQUEST' && function_exists($this->calendarManager->handleIMipRequest)) { $processed = $this->calendarManager->handleIMipRequest($principalUri, $sender, $recipient, $schedulingInfo['contents']); $message->setImipProcessed($processed); $message->setImipError(!$processed);