mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 12:52:09 +01:00
reset on serverPropertiesUpdated instead of clientSelfPropertyUpdated
This commit is contained in:
@@ -37,7 +37,7 @@ function main() {
|
||||
case "talkStatusChanged":
|
||||
handleTalkStatusChanged(data);
|
||||
break;
|
||||
case "clientSelfPropertyUpdated":
|
||||
case "serverPropertiesUpdated":
|
||||
ws.close();
|
||||
default:
|
||||
console.log(`No handler for event type: ${data.type}`);
|
||||
|
||||
@@ -21,7 +21,6 @@ function handleClientMoved(data) {
|
||||
if (data.payload.clientId == thisClient.id) {
|
||||
console.log("You disconnected");
|
||||
clientList.clear();
|
||||
//! Maybe handle channel list here too
|
||||
}
|
||||
} else {
|
||||
// User moved channel
|
||||
|
||||
Reference in New Issue
Block a user