From b256b55c3edffac31901c8a0a4dd8c8ece3af030 Mon Sep 17 00:00:00 2001 From: Mitsutaka Sato Date: Wed, 22 Apr 2020 15:02:34 +1200 Subject: [PATCH] Fix calcGuestStatus --- .../src/main/java/org/bigbluebutton/api/domain/Meeting.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbb-common-web/src/main/java/org/bigbluebutton/api/domain/Meeting.java b/bbb-common-web/src/main/java/org/bigbluebutton/api/domain/Meeting.java index 624e85cf49..45f1efb7a1 100755 --- a/bbb-common-web/src/main/java/org/bigbluebutton/api/domain/Meeting.java +++ b/bbb-common-web/src/main/java/org/bigbluebutton/api/domain/Meeting.java @@ -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;