[jitsi-dev] AgentRoster of smackx not working


I am trying to extract the agent list from AgentRoster class of smackx
library in jitsi using the function getAgents() but it is not retrieving
any agents and not showing error too.
If anyone knows why this happens plz reply, i have set my agent session
online and it is returning the queues also.

The code which i have used is noted down below.

agentSet = agentRoster.getAgents();