Fix calcGuestStatus

This commit is contained in:
Mitsutaka Sato 2020-04-22 15:02:34 +12:00
parent f6f4f8321b
commit b256b55c3e

View File

@ -355,7 +355,7 @@ public class Meeting {
} else if (GuestPolicy.ALWAYS_DENY.equals(guestPolicy)) {
return GuestPolicy.DENY;
} 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.ALLOW;