Hi,

On Thu, Apr 07, 2022 at 09:18:20AM -0400, John Regan wrote:
When a user joins a MUC, and a pre-join hook changes their nickname -
it may have been changed into an existing occupant. When this occurs,
the room creates a new occupant, and an existing occupant winds up
being disassociated from the room.

This patch makes the room re-run the existing occupant check when a
nick change has occurred.

Sorry for not replying earlier. Thanks for the patch. It seems to be
fixing the issue described. I'd like to test some other things such as
attempts by other participants to use nicknames already in used by
others and such variations to make sure everything works as intended.
Will most likely merge the patch after that.

Apologies for the git formatting, I don't know mercurial very well - I
just downloaded the latest source, made a git repo, did my changes in
there, and exported as a patch. Hopefully it's easy to apply.

Did you see our page https://prosody.im/doc/contributing ?

--
Regards,
Kim "Zash" Alvefur

--
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prosody-dev/Ypz/76w1wJsjUx0Q%40diploria.zash.se.

Reply via email to