mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat(kaak): show channel occupancy limits
This commit is contained in:
1 parent
387462d89a
commit
a3bf476db6
23 files changed
+244
-20
No files matched your search
@@ -8,6 +8,9 @@ export function mapChannelTree(snapshot: TSDirectorySnapshot, avatarCache = new
|
||||
order: String(channel.order),
|
||||
name: channel.name || "未命名频道",
|
||||
description: channel.description || "",
|
||||
...(typeof channel.maxClients === "number" && typeof channel.maxClientsLimited === "boolean"
|
||||
? { maxClients: channel.maxClients, maxClientsLimited: channel.maxClientsLimited }
|
||||
: {}),
|
||||
members: snapshot.clients
|
||||
.filter((client) => client.channelID === channel.id)
|
||||
.map((client) => {
|
||||
|
||||
Reference in new issue
Block a user