mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-02 17:32:50 +08:00
Tag file transfer errors with channel + path; feature-gate new gateway messages
Connector transfer errors stay type "error" (old clients unchanged) but now carry cid/path, so the transfer window marks the right transfer as failed. setWhisperPolicy/setTransferLimit are only sent to gateways that announce whisperPolicy/transferLimit, so older gateways don't log "Unknown message type". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
d0fc97d921
commit
bc2d1f65a0
4 files changed
+52
-26
No files matched your search
@@ -157,7 +157,7 @@ export type Ts3ConnectionEvent =
|
||||
| { type: "disconnected"; reason: string }
|
||||
| { type: "reconnecting"; reason: string }
|
||||
| { type: "reconnected" }
|
||||
| { type: "error"; message: string }
|
||||
| { type: "error"; message: string; cid?: number; path?: string }
|
||||
| { type: "channelPasswordRequired"; channelId: number }
|
||||
| ({ type: "serverLog" } & ServerLogEntry)
|
||||
| {
|
||||
@@ -368,7 +368,7 @@ export class Ts3Connection {
|
||||
| { type: "disconnected"; reason: string }
|
||||
| { type: "reconnecting"; reason: string }
|
||||
| { type: "reconnected" }
|
||||
| { type: "error"; message: string }
|
||||
| { type: "error"; message: string; cid?: number; path?: string }
|
||||
| { type: "channelPasswordRequired"; channel_id: number }
|
||||
| ({ type: "serverLog" } & ServerLogEntry)
|
||||
| {
|
||||
|
||||
Reference in new issue
Block a user