summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js
diff options
context:
space:
mode:
authorXavier-Do <Xavier-Do@users.noreply.github.com>2018-01-16 12:22:33 +0100
committerXavier-Do <Xavier-Do@users.noreply.github.com>2018-01-19 10:06:42 +0100
commit935e4f6a252ecd87d660d8433aa88fee41839fff (patch)
tree263952cf2485840e5b5111e1de4b58fc71163121 /addons/mail/static/src/js
parent4a82e3d4c65494183e6790e2312ca503ee8cf333 (diff)
Task: [mail] clean chatter.
Remove "always" tracking support Change greay background logic
Diffstat (limited to 'addons/mail/static/src/js')
-rw-r--r--addons/mail/static/src/js/chat_manager.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/chat_manager.js b/addons/mail/static/src/js/chat_manager.js
index 9d1b9cddb70..35d16915341 100644
--- a/addons/mail/static/src/js/chat_manager.js
+++ b/addons/mail/static/src/js/chat_manager.js
@@ -130,6 +130,7 @@ 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_discussion: data.is_discussion,
is_system_notification: (data.message_type === 'notification' && data.model === 'mail.channel')
|| data.info === 'transient_message',
attachment_ids: data.attachment_ids || [],