mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-16 02:49:03 +01:00
display encrypted messages, not just show an empty window
This commit is contained in:
parent
39bbea2e0d
commit
e0fa44f401
@ -3969,6 +3969,25 @@ class emailadmin_imapbase
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 'application':
|
||||||
|
switch($part->getSubType())
|
||||||
|
{
|
||||||
|
case 'pgp-encrypted':
|
||||||
|
if (($part = $_structure->getPart($mime_id+1)) &&
|
||||||
|
$part->getType() == 'application/octet-stream')
|
||||||
|
{
|
||||||
|
$this->fetchPartContents($_uid, $part);
|
||||||
|
$bodyPart[] = array(
|
||||||
|
'body' => $part->getContents(array(
|
||||||
|
'stream' => false,
|
||||||
|
)),
|
||||||
|
'mimeType' => 'text/plain',
|
||||||
|
'charSet' => $_structure->getCharset(),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case 'text':
|
case 'text':
|
||||||
switch($part->getSubType())
|
switch($part->getSubType())
|
||||||
@ -4282,6 +4301,7 @@ class emailadmin_imapbase
|
|||||||
case 'mixed':
|
case 'mixed':
|
||||||
case 'report':
|
case 'report':
|
||||||
case 'signed':
|
case 'signed':
|
||||||
|
case 'encrypted':
|
||||||
$bodyParts = $this->getMultipartMixed($_uid, $_structure, $this->htmlOptions, $_preserveSeen);
|
$bodyParts = $this->getMultipartMixed($_uid, $_structure, $this->htmlOptions, $_preserveSeen);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user