liveview-native / liveview-native/elixirconf_chat

Web - Room attendee count increases if the same user registers on different tabs or browsers

Open
#68 0 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug
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

Screen Shot 2023-09-01 at 10 51 05 AM

Screen Shot 2023-09-01 at 10 54 19 AM

**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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.