mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 03:52:50 +08:00
fix: preserve TeamSpeak channel order
This commit is contained in:
1 parent
fae21ec086
commit
883703dd0c
5 files changed
+64
-11
No files matched your search
@@ -1223,6 +1223,7 @@ function mapChannelTree(snapshot: TSDirectorySnapshot): unknown[] {
|
||||
return snapshot.channels.map((channel) => ({
|
||||
id: String(channel.id),
|
||||
parentID: String(channel.parentID),
|
||||
order: String(channel.order),
|
||||
name: channel.name || "未命名频道",
|
||||
description: channel.description || "",
|
||||
members: snapshot.clients
|
||||
|
||||
Reference in new issue
Block a user