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:
@@ -308,6 +308,16 @@ public final class MainFrame extends JFrame implements ServerTabPane.Listener {
|
||||
if (selected != null) selected.showBanList(banReasonPresets());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canViewComplaints() {
|
||||
return selected != null && selected.session().canViewComplaints();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onShowComplaints() {
|
||||
if (selected != null) selected.showComplaints();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canListPrivilegeKeys() {
|
||||
return selected != null && selected.session().canListPrivilegeKeys();
|
||||
|
||||
Reference in New Issue
Block a user