[FIX] im_livechat: fix broken avatar in livechat

closes odoo/odoo#94389

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Louis Wicket (wil)
2022-06-23 11:16:14 +02:00
parent 77afe5c37b
commit 1e75bd3b61
@@ -98,7 +98,7 @@ const LivechatButton = Widget.extend({
*/
_addMessage(data, options) {
options = Object.assign({}, this.options, options, {
serverURL: this.messaging.livechatButtonView.serverURL,
serverURL: this.messaging.livechatButtonView.serverUrl,
});
const message = new WebsiteLivechatMessage(this, data, options);