diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-09-30 17:21:34 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-09-30 17:21:34 +0200 |
| commit | c813dbf0680977e73cef6b9f8eac44745a64dc39 (patch) | |
| tree | 0fecd6e7d73c01e39665ff565ac1e22aba5b8378 /addons/mail/static/src | |
| parent | 89c78e40cbcebca393cc162677bb82e05f0b92e8 (diff) | |
| parent | 84429ab9846e72458c47dd1163d2b83db4c5fc17 (diff) | |
[MERGE] forward port branch saas-12 up to 84429ab
Diffstat (limited to 'addons/mail/static/src')
| -rw-r--r-- | addons/mail/static/src/js/chat_manager.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/chat_manager.js b/addons/mail/static/src/js/chat_manager.js index 90fbb6ed801..0b7b37ec49f 100644 --- a/addons/mail/static/src/js/chat_manager.js +++ b/addons/mail/static/src/js/chat_manager.js @@ -128,7 +128,8 @@ function make_message (data) { subtype_description: data.subtype_description, is_author: data.author_id && data.author_id[0] === session.partner_id, is_note: data.is_note, - is_system_notification: data.message_type === 'notification' && data.model === 'mail.channel', + is_system_notification: (data.message_type === 'notification' && data.model === 'mail.channel') + || data.info === 'transient_message', attachment_ids: data.attachment_ids || [], subject: data.subject, email_from: data.email_from, |
