This change loads the joinUrl in the state of the PostTypebbb-Component when the component mounts and renders the loaded url as the href-Attribute of the Join-Meeting Button. This makes it possible to copy the URL and use it for example on another machine.
@Schleuse thanks for the PR! There are a few issues with doing so though,
When you request the join URL from the API, it assumes the user has joined the meeting, and so updates the list of attendees in the post. This is of course wrong as it gives the false impression that the user joined the meeting, when in fact they didn't.
I'm concerned that if we allow users to access the join URL, they'll pass it around to other users as well. This would be wrong as the meeting join URL is user-specific to manage their role, name and password.
This change loads the joinUrl in the state of the
PostTypebbb
-Component when the component mounts and renders the loaded url as thehref
-Attribute of the Join-Meeting Button. This makes it possible to copy the URL and use it for example on another machine.May also fix issue #57