Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add direct links for joining as a host/guest #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZetaTwo
Copy link

@ZetaTwo ZetaTwo commented Dec 8, 2024

Closes #129

Tried to implement the links for setting the role directly.
The challenge I faced was that I set the role and redirect which then connects to the server which will default to have your role as spec so it gets overridden. I worked around this by looking at the prevProps in relation to state.joined but that feels a little bit brittle. I guess ideally the server should return null or similar for your role if it has not been set yet instead of using SPEC as a default value but I'm not sure if that's the right way to go about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: add optional URL parameter to take a role
1 participant