-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Invite links uses count even if the user is already in the room. #16573
Copy link
Copy link
Closed
Description
Description:
Users can open invite links multiple times, even if they joined the room already. This should not happen, as invite links can have limited uses.
Steps to reproduce:
- Go to any room.
- Click on the users icon then invite users.
- Copy the link and access it multiple times on the same account.
- Go to Admin->Invites: Check your invite link, it should have counted every time you entered the room through it.
Expected behavior:
Count only new users to the room.
Actual behavior:
It counts every single attempt.
Server Setup Information:
- Version of Rocket.Chat Server: 3.0.0-develop
- Operating System: macOS Catalina 10.15.2
- Deployment Method: Development
- Number of Running Instances: 1
- DB Replicaset Oplog: True
- NodeJS Version: 13.5.0
- MongoDB Version: 4.0.6
Client Setup Information
- Desktop App or Browser Version: Chrome Version 80.0.3987.87 (Official Build) (64-bit)
- Operating System: macOS Catalina 10.15.2
Reactions are currently unavailable