mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-03 15:54:12 +00:00
Update CS models, deps
This commit is contained in:
1 parent
b2990b5a2e
commit
7dcccdcd6c
121 files changed
+1004
-854
No files matched your search
@@ -43,7 +43,7 @@ public class ChannelStatusController(ILogger<ChannelStatusController> logger, Sp
|
||||
// idk, i cant come up with more stuff, maybe suggestions welcome, or actually storing some data?
|
||||
];
|
||||
|
||||
foreach (var guildId in req.GuildIds ?? [req.GuildId!]) {
|
||||
foreach (var guildId in req.GuildIds ?? [req.GuildId!.Value]) {
|
||||
var channels = (await db.Channels.Include(x => x.VoiceStates).Where(x => x.Type == 2 && x.GuildId == guildId && x.VoiceStates.Count > 0)
|
||||
.Select(x => x.Id)
|
||||
.ToListAsync())
|
||||
|
||||
Reference in new issue
Block a user