[FIX] im_livechat: properly call chatbotRestoreSession
Task-2960978 closes odoo/odoo#98720 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
This commit is contained in:
@@ -225,7 +225,7 @@ registerModel({
|
||||
} else if (this.chatbotState === 'restore_session') {
|
||||
// we landed on a website page and a chatbot script is currently running
|
||||
// -> restore the user's session (see 'chatbotRestoreSession')
|
||||
this.chatbotRestoreSession();
|
||||
this.livechatButtonView.chatbotRestoreSession();
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user