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

Fixed invite link parsing #250

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Fixed invite link parsing #250

merged 1 commit into from
Jul 9, 2024

Conversation

rs-pro0
Copy link
Contributor

@rs-pro0 rs-pro0 commented Jul 9, 2024

From the documentation of url we can see that path always stars with / which means that paths[0] is always empty, so we just skip it. I don't know if we need to check if paths.len() is nonzero, but that was also an issue before, so I didn't introduce new issues.

@Lonami Lonami merged commit 58e3c8c into Lonami:master Jul 9, 2024
1 check passed
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.

2 participants