summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/chat_window.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-10-01 17:28:22 +0200
committerAaron Bohy <aab@odoo.com>2015-10-02 15:49:37 +0200
commit28d3dc6cc99f1f2dd83019d7e9edf5ecc3bb80cb (patch)
tree113f993a7dbe465a54be660c9a4d0b4a22230a7d /addons/mail/static/src/js/chat_window.js
parent8908d5ccab40bccdb0dbfc856da20c4d5313a964 (diff)
[IMP] mail: only display needactions in channel inbox
Diffstat (limited to 'addons/mail/static/src/js/chat_window.js')
-rw-r--r--addons/mail/static/src/js/chat_window.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/chat_window.js b/addons/mail/static/src/js/chat_window.js
index c9ca3675054..3a50082e017 100644
--- a/addons/mail/static/src/js/chat_window.js
+++ b/addons/mail/static/src/js/chat_window.js
@@ -27,7 +27,10 @@ return Widget.extend({
this.$content = this.$('.o_chat_content');
this.$input = this.$('.o_chat_input input');
- this.thread = new ChatThread(this, {display_avatar: false});
+ this.thread = new ChatThread(this, {
+ display_avatar: false,
+ display_needactions: false,
+ });
this.thread.on('toggle_star_status', this, function (message_id) {
this.trigger('toggle_star_status', message_id);
});