Skip to content

feat: kick user duplicated connections#42

Merged
apsantiso merged 1 commit intomasterfrom
feat/kick-user-connection-if-duplicated
Sep 25, 2025
Merged

feat: kick user duplicated connections#42
apsantiso merged 1 commit intomasterfrom
feat/kick-user-connection-if-duplicated

Conversation

@apsantiso
Copy link
Copy Markdown
Contributor

@apsantiso apsantiso commented Sep 25, 2025

This PR implements user duplicate connection prevention. If a user tries to connect to a call with duplicate connections, the oldest one is kicked.

  • Received a webhook with a recent connection -> oldest connection gets kicked -> recent connection is saved
  • Received a webhook with an old connection -> old connection is kicked -> recent connection remains (nothing saved here)
  • User tries to join while having another connection -> previous connections is kicked

@apsantiso apsantiso self-assigned this Sep 25, 2025
@apsantiso apsantiso merged commit e01c8d7 into master Sep 25, 2025
3 of 5 checks passed
@apsantiso apsantiso deleted the feat/kick-user-connection-if-duplicated branch September 25, 2025 14:08
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.

2 participants