|
@ -26,7 +26,7 @@ ChatAction.include({ |
|
|
return $.when(result).done(function() { |
|
|
return $.when(result).done(function() { |
|
|
self.$buttons |
|
|
self.$buttons |
|
|
.find('.o_mail_chat_button_new_message') |
|
|
.find('.o_mail_chat_button_new_message') |
|
|
.toggle(self.show_send_message_button.includes(channel.id)); |
|
|
|
|
|
|
|
|
.toggle(self.show_send_message_button.indexOf(channel.id) != -1); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
}, |
|
|
get_thread_rendering_options: function (messages) { |
|
|
get_thread_rendering_options: function (messages) { |
|
|