Simple code sample for Web XMPP Chat (via QuickBlox SDK + API)
Add a handler for the connection This function adds a handler to the connection. The handler callback will be called for any xmpp stanza (message, presence, iq) that matches the parameters. Any parameter can be skipped. The handler will receive the stanza...