[FIX] Disable jitsi call for teams (#3183)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
cf6ddf6352
commit
5f2aba3d74
|
@ -681,7 +681,7 @@ class RoomActionsView extends React.Component {
|
||||||
renderJitsi = () => {
|
renderJitsi = () => {
|
||||||
const { room } = this.state;
|
const { room } = this.state;
|
||||||
const { jitsiEnabled } = this.props;
|
const { jitsiEnabled } = this.props;
|
||||||
if (!jitsiEnabled) {
|
if (!jitsiEnabled || room.teamMain) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue