Merge pull request #19187 from gustavotrott/client-generateJoinUrl
feature: Support pass param enforceLayout to Api /getJoinUrl
This commit is contained in:
commit
75f3cada07
@ -1250,6 +1250,11 @@ class ApiController {
|
||||
String extId = validationService.encodeString(meeting.getExternalId())
|
||||
String fullName = validationService.encodeString(us.fullname)
|
||||
String query = "fullName=${fullName}&meetingID=${extId}&role=${us.role.equals(ROLE_MODERATOR) ? ROLE_MODERATOR : ROLE_ATTENDEE}&redirect=true&userID=${us.getExternUserID()}"
|
||||
|
||||
if (!StringUtils.isEmpty(params.enforceLayout)) {
|
||||
query += "&enforceLayout=${validationService.encodeString(params.enforceLayout)}";
|
||||
}
|
||||
|
||||
String checksum = DigestUtils.sha1Hex(method + query + validationService.getSecuritySalt())
|
||||
String defaultServerUrl = paramsProcessorUtil.defaultServerUrl
|
||||
response.addHeader("Cache-Control", "no-cache")
|
||||
|
Loading…
Reference in New Issue
Block a user