Not able to get chat room list

Hi

i am using 4.1.9 smack aPI version. i am not able to get using following multiuser chat room list code.

Set tempRoom = multiUserChatManager.getJoinedRooms();

Logger.log("Get Room count : " + tempRoom.size());

Iterator list = tempRoom.iterator();

while (list.hasNext()) {

Logger.log("Get Room name : " + list.next());

}

try {

String userJid = “user@domain/Android”;

Logger.log("User JID : " + userJid);

List temp1Room = multiUserChatManager.getJoinedRooms(userJid);

Logger.log("Get Room List Count : " + tempRoom.size());

} catch (

Exception e

) {

e.printStackTrace();

}

Smack SupportSmack Dev