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

refactor(hook): improve useURLAppLauncher hook #770

Merged

Conversation

BlackHole1
Copy link
Collaborator

don't request join room api when already in the same room

don't request join room api when already in the same room
@Cheerego7 Cheerego7 merged commit 3f41779 into netless-io:url-protocol-join-room Jun 29, 2021
@BlackHole1 BlackHole1 deleted the url-protocol-join-room branch June 29, 2021 06:04
BlackHole1 added a commit that referenced this pull request Jun 29, 2021
don't request join room api when already in the same room
Leooeloel pushed a commit that referenced this pull request Jun 29, 2021
* feat(main-app): add join room config to URLprotocol. (#756)

* fix(url-protocol): launch flat lost params in url protocol when system is macOS and first open (#767)

* feat(URLProtocol): listen to ipc event for launch flat app (#768)

* refactor(flat-components): forbid to refresh in Login page (#769)

* refactor(hook): improve useURLAppLauncher hook (#770)

don't request join room api when already in the same room

* fix(hook): join room logic error in useURLAppLauncher hook

after joining the room by repeatedly calling up Flat through the browser, if exit the room, will automatically join the room again.
because we have a problem in the logic of clearing the roomUUID

* refactor(hook): improve usePushHistory hook type

Co-authored-by: Cheerego7 <48879533+Cheerego7@users.noreply.github.com>
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.

None yet

2 participants