From c93eb15fc0330f6b84e0c4e108ca18db00f56ce8 Mon Sep 17 00:00:00 2001 From: hadi Date: Thu, 27 Apr 2023 14:20:49 +0200 Subject: [PATCH] Fix mail preview failed to fetch text/calendar as attachment for smime signed messages --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index bd5500f64d..add7bffc5c 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -3267,7 +3267,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2); { $smime['msg'] = lang($smime['msg']); $acc_smime = Mail\Smime::get_acc_smime($this->mail_bo->profileID); - $attachments = $this->mail_bo->getMessageAttachments($uid, $partID, $structure,true,false,true, $mailbox); + $attachments = $this->mail_bo->getMessageAttachments($uid, $partID, $structure,true,true,true, $mailbox); $push = new Api\Json\Push($GLOBALS['egw_info']['user']['account_id']); if (!empty($acc_smime) && !empty($smime['addtocontact'])) $push->call('app.mail.smime_certAddToContact', $smime); if (is_array($attachments))