Do not join microphone when user is already in breakout
Fixes #11511
Related to the feature implemented in c451666d52
This commit is contained in:
parent
2bf959c76a
commit
629b6c901c
@ -83,7 +83,8 @@ class AudioContainer extends PureComponent {
|
||||
componentDidUpdate(prevProps) {
|
||||
const { hasBreakoutRooms, joinedAudio } = this.props;
|
||||
const { hasBreakoutRooms: hadBreakoutRooms } = prevProps;
|
||||
if (hadBreakoutRooms && !hasBreakoutRooms && joinedAudio) {
|
||||
if (hadBreakoutRooms && !hasBreakoutRooms && joinedAudio
|
||||
&& !Service.isConnected()) {
|
||||
joinMicrophone(true, true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user