|
|
@@ -381,6 +381,7 @@ class WhatsAppAccount(models.Model):
|
|
|
"author_id": author_id,
|
|
|
"subtype_xmlid": "mail.mt_comment",
|
|
|
"parent_id": parent_id.id if parent_id else None,
|
|
|
+ "whatsapp_inbound_msg_uid": messages["id"],
|
|
|
}
|
|
|
if message_type == "text":
|
|
|
kwargs["body"] = plaintext2html(messages["text"]["body"])
|