[IMP] mail: guard RtcControllerComponent

Task-2797754

closes odoo/odoo#86936

Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2022-03-23 18:05:12 +01:00
parent 2853e7d1cf
commit 6f69dc504f
@@ -2,8 +2,8 @@
<templates xml:space="preserve">
<t t-name="mail.RtcController" owl="1">
<div class="o_RtcController" t-attf-class="{{ className }}" t-ref="root">
<t t-if="rtcController and messaging">
<t t-if="rtcController">
<div class="o_RtcController" t-attf-class="{{ className }}" t-ref="root">
<div class="o_RtcController_buttons">
<t t-if="rtcController.callViewer.threadView.thread.rtc and messaging.rtc.currentRtcSession">
<t t-if="messaging.rtc.currentRtcSession.isMute"><t t-set="microphoneTitle">Unmute</t></t>
@@ -120,8 +120,8 @@
</button>
</t>
</div>
</t>
</div>
</div>
</t>
</t>
</templates>