Patch ejabberd to allow registration of two accounts before registration_timeout applies
|Reported by:||elexis||Owned by:|
The multiplayer lobby server is an ejabberd instance. Accounts are created using the mod_register module.
If the same IP address has created an account before, it has to wait
registration_timeout seconds before being able to register a second account.
This conflicts with a relevant use case of two people in the same room trying to play multiplayer games online (and I would't be surprised if that has been reported > 100 times since the lobby function was published.)
It should be possible to patch that in the 663 lines of code in that registration module and propose the patch upstream (and maybe apply it locally if that takes a long time).
Maybe the variable could be named
registration_timeout_threshold and state how many accounts can be created before the
registration_timeout rule takes effect.
(As of march 2017, I couldn't find any open issues containing the "registration" and no relevant open issues containing "timeout", so we have to create a new issue once we have a patch.)