From df18162f39b41012cf77e5c9aee836b2e9093b04 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sun, 29 Mar 2020 13:07:27 +0200 Subject: [PATCH] stop puppet on startup --- src/skype.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/skype.ts b/src/skype.ts index ed29067..7225630 100644 --- a/src/skype.ts +++ b/src/skype.ts @@ -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) => {