voelin-core: channel moves report why they fail; password and token on connect

A move went out without asking for an answer, so a wrong password or a
full channel came back as nothing. It is sent with a return code now,
and a refusal comes as Event::JoinFailed: Password, Full, or a sentence
for anything else. Moving to the channel we are in says nothing. The UI
does not show it yet; the channel password dialog will.

VoiceOptions gets channel_password and token, for joining a channel
when connecting and for links with a privilege key; tsclientlib's
ConnectOptions gets default_token for the latter (UPSTREAM.md patch 15).
Live tests on both dev servers check the password and the key on
connect, and the refused moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
This commit is contained in:
Claude committed 2026-10-06 10:25:41 +00:00
1 parent 61636b23c8
commit e441156ee6
6 files changed
+260 -9

No files matched your search

+4
View File
@@ -129,3 +129,7 @@ against or offered back to upstream.
Tests cover an independent signature vector, persistence validation/redaction,
wire field names, clearing and reconnect snapshot replacement. The account
UUID and the ordinary server identity remain separate.
15. **Privilege key when connecting** (`tsclientlib/src/lib.rs`, "Voelin patch").
`ConnectOptions::default_token` sets `client_default_token` of `clientinit`,
which upstream always sent empty, so a privilege key (a bookmark's, or the
`token=` of a `ts3server://` link) can be used on connect.