Merge pull request #12875 from paultrudel/fix-guest-wait-join-error

Fixed issue with guests not joining meeting after being approved
This commit is contained in:
Anton Georgiev 2021-07-30 16:08:09 -04:00 committed by GitHub
commit b5b5a67805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View File

@ -23,7 +23,7 @@ public class GuestWait implements Request<GuestWait.Params> {
@NotNull(message = "You must provide the session token")
@UserSessionConstraint
@MaxParticipantsConstraint
// @MaxParticipantsConstraint
private String sessionToken;
@MeetingExistsConstraint

View File

@ -735,12 +735,14 @@ class ApiController {
case GuestPolicy.ALLOW:
// IF the user was allowed to join but there is no room available in
// the meeting we must hold his approval
meetingService.guestIsWaiting(us.meetingID, us.internalUserId)
destURL = guestURL
msgKey = "seatWait"
msgValue = "Guest waiting for a seat in the meeting."
redirectClient = false
status = GuestPolicy.WAIT
if (hasReachedMaxParticipants(meeting, us)) {
meetingService.guestIsWaiting(us.meetingID, us.internalUserId)
destURL = guestURL
msgKey = "seatWait"
msgValue = "Guest waiting for a seat in the meeting."
redirectClient = false
status = GuestPolicy.WAIT
}
break
default:
break