Hi,
i hide my room below code (java) , but flash clients can show room
what is wrong?
Zone zone = SmartFoxServer.getInstance().getZoneManager().getZoneByName("Myzone");
zone.getRoomByName("TestRoom").setHidden(true);
hide room at runtime
Re: hide room at runtime
This is not the way it works.
If you want to create an hidden Room you must specify the flag when you create it.
Please check the CreateRoomSettings class in the javadoc which collects all the parameters of a Room.
Once a Room is created with the hidden flag it cannot be changed dynamically at runtime.
If you want to create an hidden Room you must specify the flag when you create it.
Please check the CreateRoomSettings class in the javadoc which collects all the parameters of a Room.
Once a Room is created with the hidden flag it cannot be changed dynamically at runtime.
Who is online
Users browsing this forum: No registered users and 87 guests