From 6a0cbf856259cb6f90b2d5a5d9b15316f8564e10 Mon Sep 17 00:00:00 2001 From: "Didier (did)" Date: Mon, 28 Mar 2022 07:34:06 +0000 Subject: [PATCH] [FIX] mail: fix guard on load video MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2806331 closes odoo/odoo#87324 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/components/rtc_video/rtc_video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/components/rtc_video/rtc_video.js b/addons/mail/static/src/components/rtc_video/rtc_video.js index bdfc1b458ad..36f7644b960 100644 --- a/addons/mail/static/src/components/rtc_video/rtc_video.js +++ b/addons/mail/static/src/components/rtc_video/rtc_video.js @@ -43,7 +43,7 @@ export class RtcVideo extends Component { * */ _loadVideo() { - if (!this.root) { + if (!this.root.el) { return; } if (!this.rtcSession || !this.rtcSession.videoStream) {