mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:51:12 +01:00
Don't send inline images as attachments in smime messages back into client-side
This commit is contained in:
parent
717bf2a717
commit
66ac4309fb
@ -3336,7 +3336,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
|
|||||||
{
|
{
|
||||||
$smime['msg'] = lang($smime['msg']);
|
$smime['msg'] = lang($smime['msg']);
|
||||||
$acc_smime = Mail\Smime::get_acc_smime($this->mail_bo->profileID);
|
$acc_smime = Mail\Smime::get_acc_smime($this->mail_bo->profileID);
|
||||||
$attachments = $this->mail_bo->getMessageAttachments($uid, $partID, $structure,true,true,true, $mailbox);
|
$attachments = $this->mail_bo->getMessageAttachments($uid, $partID, $structure,false,true,true, $mailbox);
|
||||||
$push = new Api\Json\Push($GLOBALS['egw_info']['user']['account_id']);
|
$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 (!empty($acc_smime) && !empty($smime['addtocontact'])) $push->call('app.mail.smime_certAddToContact', $smime);
|
||||||
if (is_array($attachments))
|
if (is_array($attachments))
|
||||||
|
Loading…
Reference in New Issue
Block a user