You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(getJoinUrl): Fix function to get join URL for cluster setups in BBB - #156
This PR changes the getJoinUrl function so now it is based on the bbbWebBase setting.
One other minor change: Moved this function to be initialized in the initialize method and not the getPlugins method. It won't change much in terms of practical behaviour, but it makes the development a lot easier.
One minor comment: The change of setting this method (getJoinUrl) from getPluginApi -> initialize caused one of the plugins developed with the old SDK to break and throw an error.
What happened was:
In SDKv0.0.73 (and older versions too): This method (getJoinUrl) was set by the client (BBB side) with the getPluginApi.
In SDKv0.0.74: This method is set by initialize function, which means it's set from the plugin-side.
So picture the following scenario:
BBB side was updated with SDKv0.0.74, but the plugin wasn't.
This made the plugin not set the getJoinUrl via initialize (because it's outdated and it expects the client to set it), and the BBB side doesn't set it either, because it's already updated, so it expects that the plugin sets it.
The end result is an error saying that getJoinUrl is not a function.
To fix this problem is quite simple: Update the SDK from the plugin side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR changes the
getJoinUrlfunction so now it is based on thebbbWebBasesetting.One other minor change: Moved this function to be initialized in the
initializemethod and not the getPlugins method. It won't change much in terms of practical behaviour, but it makes the development a lot easier.Closes Issue(s)
Closes #54
Motivation
This fix is mostly due to a problem in the
plugin-session-share. No changes needed there, though.