Fix calcGuestStatus
This commit is contained in:
parent
f6f4f8321b
commit
b256b55c3e
@ -355,7 +355,7 @@ public class Meeting {
|
|||||||
} else if (GuestPolicy.ALWAYS_DENY.equals(guestPolicy)) {
|
} else if (GuestPolicy.ALWAYS_DENY.equals(guestPolicy)) {
|
||||||
return GuestPolicy.DENY;
|
return GuestPolicy.DENY;
|
||||||
} else if (GuestPolicy.ASK_MODERATOR.equals(guestPolicy)) {
|
} else if (GuestPolicy.ASK_MODERATOR.equals(guestPolicy)) {
|
||||||
if (guest || (!ROLE_MODERATOR.equals(role) && authned)) {
|
if (guest || (!ROLE_MODERATOR.equals(role) && !authned)) {
|
||||||
return GuestPolicy.WAIT ;
|
return GuestPolicy.WAIT ;
|
||||||
}
|
}
|
||||||
return GuestPolicy.ALLOW;
|
return GuestPolicy.ALLOW;
|
||||||
|
Loading…
Reference in New Issue
Block a user