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

Invite code feature #11

Merged
merged 5 commits into from
Mar 15, 2025
Merged

Invite code feature #11

merged 5 commits into from
Mar 15, 2025

Conversation

Moyu010
Copy link
Contributor

@Moyu010 Moyu010 commented Mar 15, 2025

Changed endpoint /api/group/join to also accept
invite_code in json and resolve to a group

invite codes are generated as a 6 character, upper lower case ascii + digits code, seeded by the creator user id and a random hex number. Conflict resolution is NOT implemented ;>

Added endpoint /api/group/invite to serve the invite code.

@Moyu010 Moyu010 requested a review from TewPingz March 15, 2025 09:23
@Moyu010 Moyu010 self-assigned this Mar 15, 2025
Copy link
Contributor

@TewPingz TewPingz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Moyu010 Moyu010 merged commit 9786e38 into main Mar 15, 2025
@TewPingz TewPingz deleted the feature/invite branch March 15, 2025 12:15
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