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