From ae57fbea6d92080f04a102afafdf18bd460cd22f Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sat, 12 Dec 2020 22:54:19 +0100 Subject: [PATCH] Fixed client info --- shared/js/ui/frames/side/ClientInfoController.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/shared/js/ui/frames/side/ClientInfoController.ts b/shared/js/ui/frames/side/ClientInfoController.ts index 969b7418..b94a626b 100644 --- a/shared/js/ui/frames/side/ClientInfoController.ts +++ b/shared/js/ui/frames/side/ClientInfoController.ts @@ -81,6 +81,19 @@ export class ClientInfoController { } })); + this.listenerConnection.push(connection.getSelectedClientInfo().events.on("notify_client_changed", () => { + this.sendClientName(); + this.sendCountry(); + this.sendClientDescription(); + this.sendForum(); + this.sendChannelGroup(); + this.sendServerGroups(); + this.sendOnline(); + this.sendClientStatus(); + this.sendVolume(); + this.sendVersion(); + })); + this.listenerConnection.push(connection.getSelectedClientInfo().events.on("notify_cache_changed", event => { switch (event.category) { case "name":