xmppquickbloxtigase

How to get the list of rooms under an application?


I am using the built in function provided by Quickblox - chatService.listRooms(function(err,result))

When I execute this function - I get just true in the result. When I go to the Console and see the response, it is this -

enter image description here

So, actually it is fetching the list but not returning in the form of XML/JSON to the function?

How to do this? Thanks!


Solution

  • Update your chat plugin to version 0.9.0

    http://quickblox.com/developers/Web_XMPP_Chat_Sample#Download_Chat_plugin

    In new version this was changed. Currently, next functions give the array with objects in response: