diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-09-06 10:47:57 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-09-06 10:52:53 +0200 |
| commit | 502f22e2ba5e839f4ba7b9ccb35cc9cf890ca9a6 (patch) | |
| tree | 8a18cc067f6b63a6d6df014a5ba2d7b64ff5af43 /addons | |
| parent | c208d0e0b25e0872146cc3165696e54d2ef6e65e (diff) | |
[FIX] mail: link in chat messages
Commit f30ec302 defines the messages sent thanks to the channels as
plain text. This is true for all cases but one: the notification
(e.g. @user). Therefore, the notifications links are broken.
opw-687781
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mail/static/src/js/chat_manager.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/chat_manager.js b/addons/mail/static/src/js/chat_manager.js index 8ed8343fa1b..02c4ce89852 100644 --- a/addons/mail/static/src/js/chat_manager.js +++ b/addons/mail/static/src/js/chat_manager.js @@ -712,7 +712,7 @@ var chat_manager = { // post a message in a channel return ChannelModel.call('message_post', [options.channel_id], _.extend(msg, { message_type: 'comment', - content_subtype: 'plaintext', + content_subtype: 'html', subtype: 'mail.mt_comment', })); } |
