diff --git a/puppet/src/client.js b/puppet/src/client.js index 3a6f727c1a64f12a03c264dcf8abea7e2fd9765e..085ca2d8555dbb62fba9ae0e84e648eaee258aca 100644 --- a/puppet/src/client.js +++ b/puppet/src/client.js @@ -130,7 +130,7 @@ export default class Client { } sendConversationList = async list => { - this.log("Parsing conversation list", list) + // this.log("Parsing conversation list", list) list = JSON.parse(list) for (const item of list) { const chat = { @@ -181,7 +181,7 @@ export default class Client { addHandlers() { this.client.on("qrcode", this.sendQRCode) this.client.on("sessiondata", this.sendSessionData) - this.client.on("messageupdate", this.sendMessageUpdate) + // this.client.on("messageupdate", this.sendMessageUpdate) this.client.on("messagelist", this.sendMessageList) this.client.on("convlist", this.sendConversationList) } @@ -189,7 +189,7 @@ export default class Client { removeHandlers() { this.client.off("qrcode", this.sendQRCode) this.client.off("sessiondata", this.sendSessionData) - this.client.off("messageupdate", this.sendMessageUpdate) + // this.client.off("messageupdate", this.sendMessageUpdate) this.client.off("messagelist", this.sendMessageList) this.client.off("convlist", this.sendConversationList) }