mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 12:52:09 +01:00
v0.2.0
This commit is contained in:
@@ -13,7 +13,7 @@ function main() {
|
||||
type: "auth",
|
||||
payload: {
|
||||
identifier: "de.tealfire.obs",
|
||||
version: "0.1.9",
|
||||
version: "0.2.0",
|
||||
name: "TS5 OBS Overlay",
|
||||
description: "A simple OBS overlay for TS5 by DerTyp876",
|
||||
content: {
|
||||
|
||||
@@ -25,10 +25,11 @@ function handleClientMoved(data) {
|
||||
}
|
||||
|
||||
// If the disconnected client is the current user
|
||||
if (data.payload.clientId == thisClient.id) {
|
||||
if (data.payload.clientId == selfClient.id) {
|
||||
//* NOTE: since this app does support multiple servers yet, we expect the user to be connected to NO servers at this point
|
||||
console.log("You disconnected");
|
||||
clientList.clear(); // remove all clients.
|
||||
channelList.clear();
|
||||
}
|
||||
} else {
|
||||
// Client switched the channel OR JOINED the server to a channel
|
||||
|
||||
Reference in New Issue
Block a user