candy icon indicating copy to clipboard operation
candy copied to clipboard

Connect JID with custom username

Open BenJaziaSadok opened this issue 8 years ago • 1 comments

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

BenJaziaSadok avatar Sep 11 '15 09:09 BenJaziaSadok

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.

benlangfeld avatar Sep 11 '15 10:09 benlangfeld