email note strip reply part

This commit is contained in:
Yuri Kuznetsov
2024-11-16 16:10:26 +02:00
parent c0a13f79df
commit b3606ee35a
4 changed files with 60 additions and 3 deletions
+2 -2
View File
@@ -506,7 +506,7 @@ class Service
$withContent = $this->toStoreEmailContent($entityType);
if ($withContent) {
$note->setPost($email->getBodyPlain());
$note->setPost($email->getBodyPlainWithReplyPart());
$data['attachmentsIds'] = $email->getAttachmentIdList();
}
@@ -563,7 +563,7 @@ class Service
$withContent = $this->toStoreEmailContent($entityType);
if ($withContent) {
$note->setPost($email->getBodyPlain());
$note->setPost($email->getBodyPlainWithReplyPart());
$data['attachmentsIds'] = $email->getAttachmentIdList();
}