#1975 avoid duplicated participant in room

Reporter Symous
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-New
  • Type-Enhancement
  1. Symous on

    Description of feature: Is there any options/settings to avoid duplicated participant in room? For now, if we use same name/email and join a room, there will be 2 same users, even we use jwt authentication to carray totally same token. I try to add a module of prosody and in pre join hook to check whether user is already exist and try to kickout. but the problem is that all user identity(such as bare_jid) is uuid like or some, so even the same user(name/email or jwt) generate totally different id everytime. Is prosody already support this or how can I coding in module to do that? Thanks. Motivation: (Why?) We may need keep just one single participant in different client(such as web/mobile).

New comment

Not published. Used for spam prevention and optional update notifications.