Skip to content

Commit

Permalink
[FIX] Disable jitsi call for teams (#3183)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Mello <diegolmello@gmail.com>
  • Loading branch information
reinaldonetof and diegolmello authored Jun 4, 2021
1 parent cf6ddf6 commit 5f2aba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/RoomActionsView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ class RoomActionsView extends React.Component {
renderJitsi = () => {
const { room } = this.state;
const { jitsiEnabled } = this.props;
if (!jitsiEnabled) {
if (!jitsiEnabled || room.teamMain) {
return null;
}
return (
Expand Down

0 comments on commit 5f2aba3

Please sign in to comment.