- check if guest user waiting for mod approval is joining via html5
This commit is contained in:
parent
2820af6288
commit
0d217447eb
@ -44,6 +44,8 @@ public class UserSession {
|
||||
public String avatarURL;
|
||||
public String configXML;
|
||||
public String guestStatus = GuestPolicy.ALLOW;
|
||||
public Boolean joinViaHtml5 = false;
|
||||
|
||||
private AtomicInteger connections = new AtomicInteger(0);
|
||||
|
||||
|
||||
|
@ -419,6 +419,7 @@ class ApiController {
|
||||
us.guestStatus = guestStatusVal
|
||||
us.logoutUrl = meeting.getLogoutUrl()
|
||||
us.configXML = configxml;
|
||||
us.joinViaHtml5 = joinViaHtml5
|
||||
|
||||
if (!StringUtils.isEmpty(params.defaultLayout)) {
|
||||
us.defaultLayout = params.defaultLayout;
|
||||
@ -1297,9 +1298,16 @@ class ApiController {
|
||||
|
||||
String msgKey = "guestAllowed"
|
||||
String msgValue = "Guest allowed to join meeting."
|
||||
|
||||
// Check if the user should join using html5
|
||||
if (us.joinViaHtml5) {
|
||||
clientURL = paramsProcessorUtil.getHTML5ClientUrl();
|
||||
}
|
||||
|
||||
String destUrl = clientURL + "?sessionToken=" + sessionToken
|
||||
log.debug("destUrl = " + destUrl)
|
||||
|
||||
|
||||
if (guestWaitStatus.equals(GuestPolicy.WAIT)) {
|
||||
clientURL = paramsProcessorUtil.getDefaultGuestWaitURL();
|
||||
destUrl = clientURL + "?sessionToken=" + sessionToken
|
||||
|
Loading…
Reference in New Issue
Block a user