gui: fixing journal handling

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2018-12-15 22:11:14 +00:00
parent 5f391ef9ef
commit 1b7026dce6
7 changed files with 44 additions and 56 deletions

View File

@@ -72,7 +72,8 @@ class ControllerMessageRestore extends Controller {
$msg = $this->model_search_message->get_raw_message($this->data['piler_id']);
$this->model_search_message->remove_journal($msg);
Piler_Mime_Decode::splitMessage($msg, $headers, $journal, $body);
$msg = $headers . $body;
if(RESTORE_OVER_IMAP == 1) {
if($this->model_mail_mail->connect_imap()) {