Smack 4.1.1 not been able to receive joined chat rooms

client: smack 4.1.1

server:openfire 3.9.2

try {

List rooms = MultiUserChatManager.getInstanceFor(XmppConnectionManager.getInstance().getConnection()).getJoinedRooms(user);

Mylog.e(TAG, “-----------------------------------------room size:”+rooms.size()+"------------------------------------------------------");

} catch (SmackException.NoResponseException e) {

e.printStackTrace();
} catch (XMPPException.XMPPErrorException e) {

e.printStackTrace();
} catch (SmackException.NotConnectedException e) {

e.printStackTrace();
}

though i can see the user is joined in the room from the admin console