Skip to content
Snippets Groups Projects
Commit 2cecc886 authored by Thomas Müller's avatar Thomas Müller
Browse files

Fix loading of html messages in the unified inbox

parent 068a255f
No related branches found
No related tags found
No related merge requests found
......@@ -73,13 +73,13 @@ class UnifiedMailbox implements IMailBox {
}
/**
* @param int $id
* @param string $messageId
* @return Message
*/
public function getMessage($id) {
$data = json_decode(base64_decode($id), true);
public function getMessage($messageId, $loadHtmlMessageBody = false) {
$data = json_decode(base64_decode($messageId), true);
$account = $this->accountService->find($this->userId, $data[0]);
return $account->getInbox()->getMessage($data[1]);
return $account->getInbox()->getMessage($data[1], $loadHtmlMessageBody);
}
/**
......@@ -106,4 +106,4 @@ class UnifiedMailbox implements IMailBox {
public function getStatus() {
// TODO: Implement getStatus() method.
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment