Chat lines are routed once, in core

session.ChatFeed decides which conversation a message, history, server
event or notice goes to and renders it; frontends get the lines through
chat.ChatSink and key conversations by chat.ChatKey. ServerSession.Listener
no longer passes on raw chat events. Swing now labels our own messages
with our nickname on the server and links our name to us in private chats.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 23:37:33 +00:00
co-authored by Claude Opus 5.5
parent 53585994a8
commit a2a12804ad
19 changed files with 447 additions and 372 deletions
+3 -2
View File
@@ -228,6 +228,7 @@ core/ eu.lixko.ts3j.client
├── session
│ ├── ServerSession one server tab's state and actions, whatever the frontend;
│ │ the frontends' only way in to a server
│ ├── ChatFeed turns chat events into the lines of each conversation
│ └── Sessions what the servers share: the microphone, away state, nickname
├── net
│ ├── TeamspeakConnection ties socket + audio + model; the connection lifecycle
@@ -239,7 +240,7 @@ core/ eu.lixko.ts3j.client
│ ├── ClientContacts the contact list applied to a server's clients
│ ├── IconRepository server icons (avatar/ holds the client avatar cache)
│ ├── filetransfer the file transfer protocol
│ └── ConnectionListener frontend callbacks
│ └── ConnectionListener what the connection tells its session
├── audio the voice pipelines every platform shares
│ ├── AudioBackend/AudioIo what a platform supplies: devices, lines, Opus
│ ├── CaptureVoiceInput capture → processing → VAD/PTT gate → Opus encode
@@ -249,7 +250,7 @@ core/ eu.lixko.ts3j.client
│ ├── processing port of TS3's WebRTC capture chain: HPF, NS, transients, AGC2
│ ├── vad port of WebRTC's rnn_vad speech detector
│ └── opus codec interfaces
├── chat ChatScope: the server, channel or a private chat
├── chat ChatKey/ChatScope: which conversation; ChatSink: where its lines go
├── chatlog TS3-compatible chat logs, shared with the TS3 client by default
├── contacts friends and blocked clients, in TS3's own record format
├── text BBCode, TeamSpeak links, chat search, byte sizes