Merge pull request #9189 from miztaka/catalyst-fix-calcGuestStatus

Fix calcGuestStatus
This commit is contained in:
Anton Georgiev 2020-05-06 09:11:46 -04:00 committed by GitHub
commit b70ee28a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;