Takeover conflict implementation

This commit is contained in:
Adhiraj
2020-07-10 12:44:31 +05:30
parent 2dad372e75
commit 2a7d179822
4 changed files with 29 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ export default class WAConnectionBase {
/** The version of WhatsApp Web we're telling the servers we are */
version: [number, number, number] = [2, 2027, 10]
/** The Browser we're telling the WhatsApp Web servers we are */
browserDescription: [string, string, string] = Browsers.baileys ('Baileys')
browserDescription: [string, string, string] = Browsers.baileys ('Chrome')
/** Metadata like WhatsApp id, name set on WhatsApp etc. */
userMetaData: UserMetaData = { id: null, name: null, phone: null }
/** Should reconnect automatically after an unexpected disconnect */