fix: preserve TeamSpeak channel order

This commit is contained in:
illusia committed 2026-09-18 17:14:35 +08:00
1 parent fae21ec086
commit 883703dd0c
5 files changed
+64 -11

No files matched your search

+1
View File
@@ -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