Skip to content

Commit

Permalink
chore: rename rawMesage to rawMessage
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Sep 13, 2024
1 parent 3f9e1b8 commit 3c22c47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Send/CopySentMessageHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 3c22c47

Please sign in to comment.