Let admins delete other clients' avatars
With b_client_avatar_delete_other, the client's context menu and the menu on their avatar offer "Delete Avatar", as in TeamSpeak 3. The server takes the deletion as ftdeletefile on /avatar_<unique id> (not the stored file's name, which it refuses with "convert error") and clears the client's avatar flag for everyone. Our own avatar's file is now deleted the same way, which only such clients are allowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,6 +118,11 @@ public final class ServerTreePanel extends JPanel {
|
||||
/** Edits a client's description — our own included. */
|
||||
void changeClientDescription(ClientEntry client);
|
||||
|
||||
/** Whether we may delete other clients' avatars. */
|
||||
boolean canDeleteOtherAvatars();
|
||||
|
||||
void deleteClientAvatar(ClientEntry client);
|
||||
|
||||
/** A new nickname for ourselves, typed into the tree row. */
|
||||
void renameSelf(String nickname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user