👔 Discovery only shows community realms
This commit is contained in:
parent
661b612537
commit
19ddc1b363
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user