mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update WhatsAppWeb.js
This commit is contained in:
@@ -90,9 +90,7 @@ class WhatsAppWeb {
|
|||||||
* What to do when you need the phone to authenticate the connection (generate QR code by default)
|
* What to do when you need the phone to authenticate the connection (generate QR code by default)
|
||||||
*/
|
*/
|
||||||
this.onReadyForPhoneAuthentication = this.generateQRCode
|
this.onReadyForPhoneAuthentication = this.generateQRCode
|
||||||
|
this.encoder = new BinaryCoding.Encoder()
|
||||||
this.onRe
|
|
||||||
this.encoder = new BinaryCoding.Encoder()
|
|
||||||
this.decoder = new BinaryCoding.Decoder()
|
this.decoder = new BinaryCoding.Decoder()
|
||||||
|
|
||||||
this.unexpectedDisconnect = (err) => { this.close () }
|
this.unexpectedDisconnect = (err) => { this.close () }
|
||||||
|
|||||||
Reference in New Issue
Block a user