mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
feat(channels): render TeamSpeak spacers across skins
This commit is contained in:
1 parent
4bff2133b6
commit
b9fccb8757
21 files changed
+240
-17
No files matched your search
@@ -73,6 +73,7 @@ function channel(value: unknown): value is ChannelInfo {
|
||||
&& optional(value.maxClients, maximum => finite(maximum) && Number.isInteger(maximum) && maximum >= 0 && maximum <= 65_535)
|
||||
&& optional(value.maxClientsLimited, boolean)
|
||||
&& optional(value.passwordProtected, boolean)
|
||||
&& optional(value.isPermanent, boolean)
|
||||
&& (value.maxClients === undefined) === (value.maxClientsLimited === undefined)
|
||||
&& optional(value.members, members => arrayOf(members, member));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user