This commit is contained in:
the-djmaze 2024-02-28 19:36:57 +01:00
parent b3893f7164
commit 6e56808a0d

View file

@ -213,7 +213,7 @@ class BodyStructure implements \JsonSerializable
if (!$aParts) {
$gEncryptedParts = $this->SearchByContentType('multipart/encrypted');
foreach ($gEncryptedParts as $oPart) {
if ($oPart->isPgpEncrypted() && $oPart->SubParts()[1]->isInline()) {
if ($oPart->isPgpEncrypted()) {
return array($oPart->SubParts()[1]);
}
}