How to limit the number of results for jabber:iq:roster request?

In ejabberd we have enabled mod_shared_roster everybody. total number of registered users is 2000. My client hangs on retrieving rosters from server. How to limit the number of results for jabber:iq:roster request. I need pagination concept in fetching rosters. How to achieve this

mod_roster does not implement

mod_roster does not implement some pagination feature.

Instead of using @all@, you can try to use @online@

Syndicate content