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

Fix bug where room participants wouldn't update #2420

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

Cosmin-Mare
Copy link
Collaborator

fixes #2419

Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sprig ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2024 6:28am

Copy link
Contributor

@grymmy grymmy left a comment

Choose a reason for hiding this comment

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

Would appreciate addition of a singular comment to explain what you're doing here in layperson's terms.

isHost: state.user.host
})
} catch(e){
return
Copy link
Contributor

Choose a reason for hiding this comment

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

is it OK for this to be very quietly failing w/o any logging?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yup. bc that means that the participant doesn't have an email, therefore it's the saving instance and we don't count that towards the participants

@Cosmin-Mare Cosmin-Mare added this pull request to the merge queue Oct 9, 2024
Merged via the queue into hackclub:main with commit dc0686f Oct 9, 2024
3 checks passed
@Cosmin-Mare Cosmin-Mare deleted the fix-participants-bug branch October 9, 2024 12:42
Cosmin-Mare added a commit to Cosmin-Mare/sprig that referenced this pull request Oct 17, 2024
* Fix bug where participants wouldn't update

* add comments
Cosmin-Mare added a commit to Cosmin-Mare/sprig that referenced this pull request Oct 28, 2024
* Fix bug where participants wouldn't update

* add comments
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.

Participant count of room doesn't increase
2 participants