Add the Complaints List and Make a Complaint

Tools > Complaints List (Ctrl+Shift+C) shows the server's complaints
grouped by target, with Remove, Reload and Ban Client, as TS3 does. The
client menu gains Make a Complaint below Poke. The complaint delete
permissions are missing from the needed-permissions subset, so they are
asked for alongside the move/kick/ban powers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 13:03:57 +00:00
co-authored by Claude Opus 5.5
parent ee1a83e981
commit fb1de8ac5b
13 changed files with 760 additions and 23 deletions
@@ -37,6 +37,9 @@ final class ClientMenu {
JMenuItem poke = new JMenuItem("Poke", Icons.of("POKE"));
poke.addActionListener(a -> actions.pokeClient(client));
menu.add(poke);
JMenuItem complain = new JMenuItem("Make a Complaint", Icons.of("SEND_COMPLAINT"));
complain.addActionListener(a -> actions.complainAboutClient(client));
menu.add(complain);
menu.addSeparator();
JMenuItem kickChannel = new JMenuItem("Kick Client from Channel", Icons.of("KICK_FROM_CHANNEL"));
kickChannel.addActionListener(a -> actions.kickClientFromChannel(client));