mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
- handleMoveClient: route self-drags through handleSwitchChannel so moving your own client still prompts for a channel password when required, while admin moves of other clients keep bypassing the target channel's password (matches native TS3/GTS behavior - only the mover needs permission, not the password). - MoveClientDialog: disable channel spacers as move targets, they are display-only rows with no backing channel. - connector moveclient handler: carry the already-decoded password through the fallback branch (client not found in local state) instead of hardcoding an empty password, so self-moves via that path still authenticate correctly. - App.tsx: memoize treeClients/queryClientCount so they are not recomputed on every render (e.g. on unrelated "talkers" updates), and simplify the duplicated displayClientCount ternary. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>