👔 Discovery only shows community realms

This commit is contained in:
LittleSheep 2025-06-27 23:30:37 +08:00
parent 661b612537
commit 19ddc1b363

View File

@ -13,7 +13,7 @@ public class DiscoveryService(AppDatabase appDatabase)
var realmsQuery = appDatabase.Realms var realmsQuery = appDatabase.Realms
.Take(take) .Take(take)
.Skip(offset) .Skip(offset)
.Where(r => r.IsPublic); .Where(r => r.IsCommunity);
if (!string.IsNullOrEmpty(query)) if (!string.IsNullOrEmpty(query))
{ {