Hi everyone,
I write the following code:
RoomInfo info = MultiUserChat.getRoomInfo(conn, “room01@conference.myserver”);
System.out.println(“Number of occupants:” + info.getOccupantsCount());
System.out.println(“Room Subject:” + info.getSubject());
I got the result:
Number of occupants: -1
Room Subject:
Actually, the room has 3 people and a new subject.
Can anyone tell me why?
Thanks in advance!