Skip to content
Permalink
Browse files

[MERGE] forward port branch 10.0 up to 2fc46a0

  • Loading branch information...
KangOl committed Aug 19, 2019
2 parents 14547f8 + 2fc46a0 commit b6deb7274735be65306cbc478fb767bc949d727a
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/mail/models/mail_thread.py
@@ -1496,7 +1496,7 @@ def message_parse(self, message, save_original=False):
# Very unusual situation, be we should be fault-tolerant here
message_id = "<%s@localhost>" % time.time()
_logger.debug('Parsing Message without message-id, generating a random one: %s', message_id)
msg_dict['message_id'] = message_id
msg_dict['message_id'] = message_id.strip()

if message.get('Subject'):
msg_dict['subject'] = tools.decode_smtp_header(message.get('Subject'))

0 comments on commit b6deb72

Please sign in to comment.
You can’t perform that action at this time.