[IMP] im_livechat: change html to text to better suit the data type

Part-of: odoo/odoo#87597
This commit is contained in:
Nemael
2022-03-30 19:27:00 +02:00
parent 06b1d20efc
commit 327208ca22
@@ -1168,7 +1168,7 @@ var ThreadWidget = Widget.extend({
var isAtBottom = this.isAtBottom();
this.$('.o_mail_timestamp').each(function () {
var date = $(this).data('date');
$(this).html(mailUtils.timeFromNow(date));
$(this).text(mailUtils.timeFromNow(date));
});
if (isAtBottom && !this.isAtBottom()) {
this.scrollToBottom();