diff --git a/src/main/java/org/jitsi/jigasi/AudioModeration.java b/src/main/java/org/jitsi/jigasi/AudioModeration.java index 99687fa56..77d04aca8 100644 --- a/src/main/java/org/jitsi/jigasi/AudioModeration.java +++ b/src/main/java/org/jitsi/jigasi/AudioModeration.java @@ -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 diff --git a/src/main/java/org/jitsi/jigasi/JvbConference.java b/src/main/java/org/jitsi/jigasi/JvbConference.java index c5e8023ee..fac25afe1 100644 --- a/src/main/java/org/jitsi/jigasi/JvbConference.java +++ b/src/main/java/org/jitsi/jigasi/JvbConference.java @@ -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