summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/models/threads/channel.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-08-01 11:20:40 +0000
committerSébastien Theys <seb@odoo.com>2019-08-02 16:47:58 +0000
commitf0ffbea17381cb117f2eed4ea18a76e2b0f37f00 (patch)
tree6b0a1a34e1b79b9d5d7e46c54d461684a4d584bf /addons/mail/static/src/js/models/threads/channel.js
parent1b85ab93ec647ed723dd72d11df7b3c8283d5f98 (diff)
[IMP] *: remove unnecessary image sizes
The big images are probably never going to be used for the following models: - pos category - fleet brand - livechat channel - mail channel - payment acquirer And if big images are needed some day the model should use image.mixin instead. PR: #34925
Diffstat (limited to 'addons/mail/static/src/js/models/threads/channel.js')
-rw-r--r--addons/mail/static/src/js/models/threads/channel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/models/threads/channel.js b/addons/mail/static/src/js/models/threads/channel.js
index 17d9453697a..83a0a259e94 100644
--- a/addons/mail/static/src/js/models/threads/channel.js
+++ b/addons/mail/static/src/js/models/threads/channel.js
@@ -220,7 +220,7 @@ var Channel = SearchableThread.extend(ThreadTypingMixin, {
getPreview: function () {
var result = this._super.apply(this, arguments);
if (!this.isTwoUserThread()) {
- result.imageSRC = '/web/image/mail.channel/' + this.getID() + '/image_64';
+ result.imageSRC = '/web/image/mail.channel/' + this.getID() + '/image_128';
}
var lastMessage = this.getLastMessage();
return _.extend(result, {