candy
candy copied to clipboard
Connect JID with custom username
Hello, I have a web app with chat feature. JID are all numeric, to be sure that they are unique. I want to show an alphabetic username and not show the numeric one in the candy interface. Can i replace the shown username by it's property, or, are there a connect method to show a new username. Thx
The "username" displayed, to be accurate, is the room nickname. There is nothing in Candy currently to rewrite this globally, though you may have some luck with handling events. Take a look at the event documentation and try using event handlers to replace it. This will be a development effort.