mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-12-27 17:11:40 +00:00
stop puppet on startup
This commit is contained in:
parent
fe939b6d04
commit
df18162f39
@ -123,6 +123,7 @@ export class Skype {
|
|||||||
if (!p) {
|
if (!p) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
await this.stopClient(puppetId);
|
||||||
p.client = new Client(p.data.username, p.data.password, p.data.state);
|
p.client = new Client(p.data.username, p.data.password, p.data.state);
|
||||||
const client = p.client;
|
const client = p.client;
|
||||||
client.on("text", async (resource: skypeHttp.resources.TextResource) => {
|
client.on("text", async (resource: skypeHttp.resources.TextResource) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user