AnsweredAssumed Answered

Roster.getGroups returning 0

Question asked by fantasy on May 14, 2015
Latest reply on May 17, 2015 by fantasy

Hello everyone

 

When I found that the use of smack4.1.1 to directly call Roster.getGroups will be an empty set

QQ图片20150515132150.png

QQ图片20150515132203.png

Through debug can find openfire is indeed a return message

QQ图片20150515132358.png

And if I use the Roster.getGroups method before using the Roster.reloadAndWait method to get the result will be normal

This is why

Outcomes