Skip to content

Commit

Permalink
Merge pull request #10141 from nextcloud/chore/noid/typo-variable-name
Browse files Browse the repository at this point in the history
chore: rename rawMesage to rawMessage
  • Loading branch information
ChristophWurst authored Sep 13, 2024
2 parents 3f9e1b8 + 3c22c47 commit f6dfb3b
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 f6dfb3b

Please sign in to comment.