diff --git a/addons/mail/static/src/js/models/threads/thread.js b/addons/mail/static/src/js/models/threads/thread.js index ff98906aed7..16635cfaf4f 100644 --- a/addons/mail/static/src/js/models/threads/thread.js +++ b/addons/mail/static/src/js/models/threads/thread.js @@ -345,9 +345,7 @@ var Thread = AbstractThread.extend(ServicesMixin, { body = this._generateEmojis(body); var messageData = { partner_ids: data.partner_ids, - channel_ids: _.map(data.channel_ids, function (channelID) { - return [4, channelID, false]; - }), + channel_ids: data.channel_ids, body: body, attachment_ids: data.attachment_ids, canned_response_ids: data.canned_response_ids,