Search code examples
javascriptxmppejabberdstrophe

ejabberd -- Setting nickname on ejabberd does not reflect on Pidgin/Empathy until I log-in-out


I am in the process of developing this javascript chat application, and everything works fine, except when I want to assign a nickname to the new (website visitor) user.

I am just wondering if there is a way to "force" the other IM client, either from ejabberd XML request or ejabberdctl to refresh the visitor's nickname?

Thanks in advance!


Solution

  • You should implement XEP-0172: User Nickname. This defines many options to propagate nickname changes.