Let chat logs be turned off or kept elsewhere

Chat logs always went into the TeamSpeak 3 client's own folder. A new
Chat page in Options can turn them off, or point them at another
folder; left empty, they are still shared with the TeamSpeak 3 client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-25 11:25:25 +00:00
co-authored by Claude Opus 5.5
parent 1a3a3e37c1
commit d7261c906d
4 changed files with 99 additions and 3 deletions
@@ -39,6 +39,7 @@ public final class SettingsDialog extends JDialog {
private final HotkeysPanel hotkeysPanel;
private final ClientVersionPanel clientVersionPanel;
private final ContactsPanel contactsPanel;
private final ChatLogsPanel chatLogsPanel;
public SettingsDialog(Frame owner, Settings settings, AudioBackend audio,
VoiceInput liveMic, VoiceOutput livePlayback,
@@ -54,6 +55,7 @@ public final class SettingsDialog extends JDialog {
hotkeysPanel = new HotkeysPanel(hotkeys);
clientVersionPanel = new ClientVersionPanel(settings);
contactsPanel = new ContactsPanel(settings);
chatLogsPanel = new ChatLogsPanel(settings);
devicesPanel = new DevicesPanel(settings, audio.io(), livePlayback,
this::applyLive, this::restartTest, this::setTestOutputDevice);
voiceActivationPanel = new VoiceActivationPanel(settings, audio, liveMic, hotkeys,
@@ -66,6 +68,7 @@ public final class SettingsDialog extends JDialog {
tabs.addTab("Design", designPanel);
tabs.addTab("Hotkeys", hotkeysPanel);
tabs.addTab("Contacts", contactsPanel);
tabs.addTab("Chat", scrollable(chatLogsPanel));
tabs.addTab("Client Version", scrollable(clientVersionPanel));
JPanel buttons = new JPanel(new BorderLayout());
@@ -143,6 +146,7 @@ public final class SettingsDialog extends JDialog {
designPanel.apply();
clientVersionPanel.apply();
contactsPanel.apply();
chatLogsPanel.apply();
hotkeysPanel.apply();
settings.save();