Added Option to skip QR Logging in Terminal (#552)

QR logging can now be disabled using connect option.
This commit is contained in:
bhavya32
2021-06-27 19:02:47 +05:30
committed by GitHub
parent 3607357152
commit 0dea009f9c
4 changed files with 11 additions and 2 deletions

View File

@@ -48,7 +48,8 @@ export class WAConnection extends EventEmitter {
phoneResponseTime: 15_000,
maxQueryResponseTime: 10_000,
alwaysUseTakeover: true,
queryChatsTillReceived: true
queryChatsTillReceived: true,
logQR: true
}
/** When to auto-reconnect */
autoReconnect = ReconnectMode.onConnectionLost