summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_preview/thread_preview.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/src/components/thread_preview/thread_preview.js')
-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`;
}