stop puppet on startup

This commit is contained in:
Sorunome 2020-03-29 13:07:27 +02:00
parent fe939b6d04
commit df18162f39
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

@ -123,6 +123,7 @@ export class Skype {
if (!p) {
return;
}
await this.stopClient(puppetId);
p.client = new Client(p.data.username, p.data.password, p.data.state);
const client = p.client;
client.on("text", async (resource: skypeHttp.resources.TextResource) => {