- fix switch presenter display in user's list
This commit is contained in:
parent
8515d54308
commit
7f06d2a766
@ -356,8 +356,7 @@ public class UserClientMessageSender {
|
||||
message.put("msg", gson.toJson(args));
|
||||
|
||||
System.out.println("RedisPubSubMessageHandler - processUserStatusChangedMessage \n" + message.get("msg") + "\n");
|
||||
|
||||
|
||||
|
||||
BroadcastClientMessage m = new BroadcastClientMessage(msg.meetingId, "participantStatusChange", message);
|
||||
service.sendMessage(m);
|
||||
}
|
||||
|
@ -283,14 +283,14 @@ package org.bigbluebutton.main.model.users
|
||||
trace("changeStatus -> " + status.name);
|
||||
//_status.changeStatus(status);
|
||||
if (status.name == "presenter") {
|
||||
presenter = status.value;
|
||||
presenter = (status.value.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
|
||||
//As the lock settings are now not applied to presenters, when the presenter flag is changed, we need to apply the lock settings
|
||||
applyLockSettings();
|
||||
}
|
||||
switch (status.name) {
|
||||
case "presenter":
|
||||
presenter = status.value;
|
||||
presenter = (status.value.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
break;
|
||||
case "hasStream":
|
||||
var streamInfo:Array = String(status.value).split(/,/);
|
||||
@ -305,10 +305,10 @@ package org.bigbluebutton.main.model.users
|
||||
streamName = streamNameInfo[1];
|
||||
break;
|
||||
case "raiseHand":
|
||||
raiseHand = status.value as Boolean;
|
||||
if (me) {
|
||||
UserManager.getInstance().getConference().isMyHandRaised = status.value;
|
||||
}
|
||||
raiseHand = (status.value.toString().toUpperCase() == "TRUE") ? true : false;
|
||||
if (me) {
|
||||
UserManager.getInstance().getConference().isMyHandRaised = status.value;
|
||||
}
|
||||
break;
|
||||
}
|
||||
buildStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user