summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/message/message.js
diff options
context:
space:
mode:
authorXavier Dubuc <xdu@odoo.com>2020-09-16 09:49:00 +0000
committerAlexandre Kühn <aku@odoo.com>2020-09-29 17:16:18 +0000
commit7118288355e035f07da8b76d3f9ecefd2375e937 (patch)
treefdc3879cd117f5d059b2be9ff30109585fb2f150 /addons/mail/static/src/components/message/message.js
parent0df66708defd0fcb288979b1431d8180831e43d3 (diff)
[IMP] mail, website_livechat: bring back visitor banner in discuss
task-2276589 closes odoo/odoo#58857 X-original-commit: 65dbe1c4760e2ffe104426f9aa41007a10dc32f0 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/mail/static/src/components/message/message.js')
-rw-r--r--addons/mail/static/src/components/message/message.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/message/message.js b/addons/mail/static/src/components/message/message.js
index e63d35332ea..0f410b78673 100644
--- a/addons/mail/static/src/components/message/message.js
+++ b/addons/mail/static/src/components/message/message.js
@@ -140,7 +140,7 @@ class Message extends Component {
// TODO FIXME for public user this might not be accessible. task-2223236
// we should probably use the correspondig attachment id + access token
// or create a dedicated route to get message image, checking the access right of the message
- return `/web/image/res.partner/${this.message.author.id}/image_128`;
+ return this.message.author.avatarUrl;
} else if (this.message.message_type === 'email') {
return '/mail/static/src/img/email_icon.png';
}