Repository navigation
Conversation
|
what if the I would like this more than a new setting! And it's more versatile! |
|
I think it's pretty cool to have as a feature, but I'm not sure how to best implement it. Do you think we could specify this a little better and do it in a future PR? We're currently testing our Custom Feedback application that uses this feature and it will soon be open sourced. I think we could go from there |
|
Once it can include user infos, I think the best place is in the client, the same place you changed. const confirmRedirect = (isBreakout: boolean, allowRedirect: boolean) => {
if (isBreakout) window.close();
if (allowRedirect) {
let logoutUrlWithParams = logoutUrl;
logoutUrlWithParams = logoutUrlWithParams.replaceAll('%%USERID%%', userId);
logoutUrlWithParams = logoutUrlWithParams.replaceAll('%%USERNAME%%', userName);
logoutUrlWithParams = logoutUrlWithParams.replaceAll('%%MEETINGID%%', meetingId);
window.location.href = logoutUrlWithParams;
}
}; |
|
Okay, I think I can do that. I'll add some documentation to the PR description as well |
|
I believe creating a new |
|
Since the code ended up being very small we might want to squash merge the commits |
668bc35 to
e0a3152
Compare
|
Automated tests Summary⏳ Tests are running... |
This fixes a few cases that could result in 500 errors when using templated logoutUrl (after bigbluebutton#20965)



This is used by the upcoming custom feedback app together with the logoutURL functionality.
Here's an example of the logoutURL we'd configure in
bigbluebutton-web/grails-app/conf/bigbluebutton.properties:The
%%MEETINGID%%and%%USERID%%parameters can be used as templates that will be substituted by the time the user is redirected after they leave the meeting. The currently implemented parameters are:%%MEETINGID%% : The current meeting's internal meeting ID
%%USERID%% : The current user's internal user ID
%%USERNAME%% : The current user's name
These parameters might change or be updated in the future.