summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_preview
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/thread_preview
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/thread_preview')
-rw-r--r--addons/mail/static/src/components/thread_preview/thread_preview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/components/thread_preview/thread_preview.js b/addons/mail/static/src/components/thread_preview/thread_preview.js
index 0e5a226a5f2..b10e8ee2586 100644
--- a/addons/mail/static/src/components/thread_preview/thread_preview.js
+++ b/addons/mail/static/src/components/thread_preview/thread_preview.js
@@ -59,7 +59,7 @@ class ThreadPreview extends Component {
*/
image() {
if (this.thread.correspondent) {
- return `/web/image/res.partner/${this.thread.correspondent.id}/image_128`;
+ return this.thread.correspondent.avatarUrl;
}
return `/web/image/mail.channel/${this.thread.id}/image_128`;
}