From 0c4a94e17dac726a0da66b4e0a96bcaaa74763bd Mon Sep 17 00:00:00 2001 From: Nicolas Bayet Date: Wed, 16 Aug 2023 09:24:56 +0000 Subject: [PATCH] [FIX] web_editor: properly return the value of _hasICEServers In the forward port #129226, the return value of _hasICEServers was not properly returned, which led to the collaboration to always be disabled. task-3468261 closes odoo/odoo#132165 X-original-commit: e215290bd2d6091396aafadc58a93a68675d77dd Signed-off-by: David Monjoie (dmo) --- addons/web_editor/static/src/js/wysiwyg/wysiwyg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js index b770d843263..2fb7476e9f1 100644 --- a/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js +++ b/addons/web_editor/static/src/js/wysiwyg/wysiwyg.js @@ -2904,7 +2904,7 @@ export class Wysiwyg extends Component { _hasICEServers() { // Hack: check if mail module is installed. - session.notification_type + return session.notification_type; } /**