mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-30 05:07:12 +01:00
v0.2.0
This commit is contained in:
@@ -13,7 +13,7 @@ function main() {
|
|||||||
type: "auth",
|
type: "auth",
|
||||||
payload: {
|
payload: {
|
||||||
identifier: "de.tealfire.obs",
|
identifier: "de.tealfire.obs",
|
||||||
version: "0.1.9",
|
version: "0.2.0",
|
||||||
name: "TS5 OBS Overlay",
|
name: "TS5 OBS Overlay",
|
||||||
description: "A simple OBS overlay for TS5 by DerTyp876",
|
description: "A simple OBS overlay for TS5 by DerTyp876",
|
||||||
content: {
|
content: {
|
||||||
|
|||||||
@@ -25,10 +25,11 @@ function handleClientMoved(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If the disconnected client is the current user
|
// 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
|
//* 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");
|
console.log("You disconnected");
|
||||||
clientList.clear(); // remove all clients.
|
clientList.clear(); // remove all clients.
|
||||||
|
channelList.clear();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Client switched the channel OR JOINED the server to a channel
|
// Client switched the channel OR JOINED the server to a channel
|
||||||
|
|||||||
Reference in New Issue
Block a user