Merge PR #1334 into 16.0

Signed-off-by hbrunn
pull/1342/head
OCA-git-bot 2024-03-25 12:30:54 +00:00
commit e14af5a7a5
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class MailThread(models.AbstractModel):
# prefer html bodies to text
msg_body,
email_cc=message_msg.cc,
message_id=message_id,
message_id=message_id.strip(),
attachments=[
(attachment.longFilename, attachment.data, attachment.mimetype)
for attachment in message_msg.attachments