From 1d14df47da9390e15cd1ad6a27d34ac2fa93dcbd Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Mon, 21 Aug 2023 08:40:19 +0000 Subject: [PATCH] [IMP] mail: add possible value of thread.type closes odoo/odoo#132485 Signed-off-by: Didier Debondt (did) --- addons/mail/static/src/core/common/thread_model.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/mail/static/src/core/common/thread_model.js b/addons/mail/static/src/core/common/thread_model.js index 846dbeaa60e..b955961f5f8 100644 --- a/addons/mail/static/src/core/common/thread_model.js +++ b/addons/mail/static/src/core/common/thread_model.js @@ -115,6 +115,8 @@ export class Thread { scrollPosition = new ScrollPosition(); showOnlyVideo = false; transientMessages = []; + /** @type {'channel'|'chat'|'chatter'|'livechat'|'group'|'mailbox'} */ + type; /** @type {import("@mail/core/common/store_service").Store} */ _store; /** @type {string} */