mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-19 07:56:26 +01:00
Fixed the config option for public rooms.
This commit is contained in:
parent
7697765a5c
commit
c7b83fbc9d
@ -988,9 +988,7 @@ public class RoomManager {
|
|||||||
|
|
||||||
for (Room room : this.activeRooms.values()) {
|
for (Room room : this.activeRooms.values()) {
|
||||||
if (room.getUserCount() > 0) {
|
if (room.getUserCount() > 0) {
|
||||||
if (!RoomManager.SHOW_PUBLIC_IN_POPULAR_TAB && room.isPublicRoom()) continue;
|
if (!room.isPublicRoom() || RoomManager.SHOW_PUBLIC_IN_POPULAR_TAB) rooms.add(room);
|
||||||
|
|
||||||
rooms.add(room);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user