Merge pull request #359 from SenecaCDOT-BigBlueButton/fix-global-audio-leave
applied a fix to global audio so that leaving notifies clients correctly
This commit is contained in:
commit
9762e02b22
@ -59,7 +59,7 @@ public class MeetingMessageHandler implements MessageHandler {
|
||||
} else if (msg instanceof UserDisconnectedFromGlobalAudio) {
|
||||
UserDisconnectedFromGlobalAudio emm = (UserDisconnectedFromGlobalAudio) msg;
|
||||
log.debug("Received UserDisconnectedFromGlobalAudio toekn request. Meeting id [{}]", emm.name);
|
||||
bbbGW.userConnectedToGlobalAudio(emm.voiceConf, emm.userid, emm.name);
|
||||
bbbGW.userDisconnectedFromGlobalAudio(emm.voiceConf, emm.userid, emm.name);
|
||||
}
|
||||
}
|
||||
} else if (channel.equalsIgnoreCase(MessagingConstants.TO_SYSTEM_CHANNEL)) {
|
||||
|
2
bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/apps/users/UsersApp.scala
Normal file → Executable file
2
bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/apps/users/UsersApp.scala
Normal file → Executable file
@ -42,7 +42,7 @@ trait UsersApp {
|
||||
}
|
||||
|
||||
def handleUserDisconnectedFromGlobalAudio(msg: UserDisconnectedFromGlobalAudio) {
|
||||
// println("*************** Got UserDisconnectedToGlobalAudio message for [" + msg.name + "] ********************" )
|
||||
println("*************** Got UserDisconnectedToGlobalAudio message for [" + msg.name + "] ********************" )
|
||||
val user = users.getUser(msg.userid)
|
||||
user foreach {u =>
|
||||
val uvo = u.copy(listenOnly=false)
|
||||
|
Loading…
Reference in New Issue
Block a user