From 3c22c47960a5d3027ebc1c4b0820471c549c7748 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Fri, 13 Sep 2024 16:48:54 +0200 Subject: [PATCH] chore: rename rawMesage to rawMessage Signed-off-by: Daniel Kesselberg --- lib/Send/CopySentMessageHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Send/CopySentMessageHandler.php b/lib/Send/CopySentMessageHandler.php index 149149db03..38b62d67ed 100644 --- a/lib/Send/CopySentMessageHandler.php +++ b/lib/Send/CopySentMessageHandler.php @@ -28,8 +28,8 @@ public function process(Account $account, LocalMessage $localMessage): LocalMess return $this->processNext($account, $localMessage); } - $rawMesage = $localMessage->getRaw(); - if ($rawMesage === null) { + $rawMessage = $localMessage->getRaw(); + if ($rawMessage === null) { $localMessage->setStatus(LocalMessage::STATUS_IMAP_SENT_MAILBOX_FAIL); return $localMessage; } @@ -64,7 +64,7 @@ public function process(Account $account, LocalMessage $localMessage): LocalMess $this->messageMapper->save( $client, $sentMailbox, - $rawMesage, + $rawMessage, ); $localMessage->setStatus(LocalMessage::STATUS_PROCESSED); } catch (Horde_Imap_Client_Exception $e) {