Skip to content

Commit

Permalink
Merge fecd215 into 7bc0d07
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastProject committed Dec 17, 2018
2 parents 7bc0d07 + fecd215 commit 29bf5b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Model/IMAPMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,6 @@ private function loadBodyData(Horde_Mime_Part $p, int $partNo): string {
throw new DoesNotExistException("Mail body for this mail($this->messageId) could not be loaded");
}

$mimeHeaders = $fetch->getMimeHeader($partNo, Horde_Imap_Client_Data_Fetch::HEADER_PARSE);
if ($enc = $mimeHeaders->getValue('content-transfer-encoding')) {
$p->setTransferEncoding($enc);
}

$data = $fetch->getBodyPart($partNo);

$p->setContents($data);
Expand Down

0 comments on commit 29bf5b5

Please sign in to comment.