This commit is contained in:
Janis
2023-01-11 13:58:54 +01:00
parent 3eeb44789d
commit 77d9df60d8
3 changed files with 4 additions and 3 deletions

View File

@@ -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: {

View File

@@ -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

View File

@@ -1,3 +1,3 @@
{
"version": "v0.1.9"
"version": "v0.2.0"
}