summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/composer.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-02-13 14:20:16 +0100
committerXavierDo <xdo@odoo.com>2018-04-09 17:19:29 +0200
commit6c381a3a16787cdf881817f8173a1d8c99bd9c21 (patch)
treef382e7c7ee358e3cce26ce198b4a140a4fd7f0ac /addons/mail/static/src/xml/composer.xml
parentbd9398e24b152fdd5fc3344b6583ae6a944cb5f8 (diff)
[IMP] im_livechat, mail: replace emoji with unicode.
Remove the support to replace emojis by images. Most browser now support colored emoji or at least black and white emojis. The emojis list have been updated to ensure a correct support for most os/browser. Users have the possibility to install fonts localy if their os does not have one of the default emoji font installed. After default os emoji font, one of twemoji, emojione or noto color will be selected. The emoji list is now hardcoded in js in order to reduce the number of records in shortcodes. Also include a small fix for livechat to display message field when rating is bad. Task #36898 PR #23689
Diffstat (limited to 'addons/mail/static/src/xml/composer.xml')
-rw-r--r--addons/mail/static/src/xml/composer.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/composer.xml b/addons/mail/static/src/xml/composer.xml
index 07ec2063215..90beedc147f 100644
--- a/addons/mail/static/src/xml/composer.xml
+++ b/addons/mail/static/src/xml/composer.xml
@@ -35,7 +35,7 @@
<div t-name="mail.ChatComposer.emojis" class="o_mail_emoji_container">
<t t-foreach="emojis" t-as="emoji">
<button t-att-data-emoji="emoji.source" class="btn btn-link o_mail_emoji" t-att-title="emoji.description">
- <t t-raw="emoji.substitution"/>
+ <t t-raw="emoji.unicode_source"/>
</button>
</t>
</div>