I am building a web based chat application using strophe and ejabberd. What I am trying to do now, is :
A user can anonymously log in into the chat application and after he log in there is automatically an admin assigned to him. So far, I had managed to enable anonymous log in ejabberd, but I have to manually add the JID of the admin. So my question is how do I assign a random admin to the user?