fixup! feat: add iMip Request Handling

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
This commit is contained in:
SebastianKrupinski 2024-09-17 11:29:02 -04:00
Родитель 009b75f6ae
Коммит 2d15a087d8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -135,7 +135,7 @@ class IMipService {
$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' && function_exists($this->calendarManager->handleIMipRequest())) {
$processed = $this->calendarManager->handleIMipRequest($principalUri, $sender, $recipient, $schedulingInfo['contents']);
$message->setImipProcessed($processed);
$message->setImipError(!$processed);