Hi all,
when someone tries to enter the room with an already existent nick, we
currently return a conflict error.
However, we could gracefully rewrite the nick:
"The service MAY rewrite the new occupant's roomnick (e.g., if roomnicks
are locked down)."
Now, we have basically three options:
+ Support rewrite
+ Support it, and make it configurable
+ Don't support it in this case of simple naming conflicts
I'd prefer the first option and would also support the second, since
this situation arises fairly often when clients go to sleep (laptop lid
closed) - where they don't have a chance of sending
unavailable-presence, but on waking up do not resume the session but do
a proper XMPP reconnect. This results in a new resources id, e.g.
effectively a new client connecting to the room with the same nick while
the old inactive resource still holds the nick and for the server seems
still connected. Now the room join fails because of a nick conflict.
WDYT?
Bernd