- only allow moderators in when guest policy is ASK_MODERATOR
This commit is contained in:
parent
7a5ba9c036
commit
bfe9075e55
@ -328,7 +328,7 @@ public class Meeting {
|
||||
} else if (GuestPolicy.ALWAYS_DENY.equals(guestPolicy)) {
|
||||
return GuestPolicy.DENY;
|
||||
} else if (GuestPolicy.ASK_MODERATOR.equals(guestPolicy)) {
|
||||
if (!ROLE_MODERATOR.equals(role) && (guest)) {
|
||||
if (!ROLE_MODERATOR.equals(role)) {
|
||||
return GuestPolicy.WAIT ;
|
||||
}
|
||||
return GuestPolicy.ALLOW;
|
||||
|
Loading…
Reference in New Issue
Block a user