liveview-native / liveview-native/elixirconf_chat
Web - Room attendee count increases if the same user registers on different tabs or browsers
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 35
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** I think, we are generating a different token every time an email is used to register. So, if a user registers with the same email in different tabs or browsers, and visits the same room, the attendee count increases.
Env:
- Desktop Mackbook Pro - Monterey OS
- Chrome 116 and Safari 15.3
**Pre-req:**
Open the chat link [https://chat.elixirconf.com/](https://chat.elixirconf.com/) and register with the same email in different tabs/browsers.
**STR:**
Assuming we have registered with the same email address on 2 different browsers (ex: Chrome and Safari):
1. Visit a chat room (ex: Hallway) in one browser
2. Visit the same chat room (ex: Hallway) on another browser
**Actual:**
The attendee count increases
https://github.com/liveview-native/elixirconf_chat/assets/58893057/677074c0-3c7a-4878-a156-da4b0ed52f96
**Expected:** I guess, tokens are generated for every registration but it doesn't validate based on the email addresses. So the attendee count does not filter out duplicate entries (i:e user registering multiple times with same email). This creates confusion to the user.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.