Skip to content

Commit

Permalink
fixup! feat: add iMip Request Handling
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Sep 24, 2024
1 parent 2d15a08 commit 9f41698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/IMipService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' && function_exists($this->calendarManager->handleIMipRequest())) {
if ($schedulingInfo['method'] === 'REQUEST' && method_exists($this->calendarManager, 'handleIMipRequest')) {
$processed = $this->calendarManager->handleIMipRequest($principalUri, $sender, $recipient, $schedulingInfo['contents']);
$message->setImipProcessed($processed);
$message->setImipError(!$processed);
Expand Down

0 comments on commit 9f41698

Please sign in to comment.