Skip to content

Commit

Permalink
fix: Fixes initial mute state when joining.
Browse files Browse the repository at this point in the history
  • Loading branch information
damencho committed Oct 1, 2021
1 parent 68a764e commit 3e69acc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jitsi/jigasi/AudioModeration.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ public void clean()
* Adds the iq handler that will handle muting us from the xmpp side.
* We add it before inviting jicofo and before joining the room to not miss any message.
*/
void notifyWillJoinJvbRoom()
void notifyWillJoinJvbRoom(ChatRoom mucRoom)
{
ChatRoom mucRoom = this.jvbConference.getJvbRoom();
if (mucRoom instanceof ChatRoomJabberImpl)
{
// we always start the call unmuted
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/jitsi/jigasi/JvbConference.java
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ public void joinConferenceRoom()
+ "is not an instance of ChatRoomJabberImpl");
}

this.audioModeration.notifyWillJoinJvbRoom();
this.audioModeration.notifyWillJoinJvbRoom(mucRoom);

// we invite focus and wait for its response
// to be sure that if it is not in the room, the focus will be the
Expand Down

0 comments on commit 3e69acc

Please sign in to comment.