remote auth uses client user agent and ws props

This commit is contained in:
Conner Dassen
2022-10-26 01:59:19 +02:00
parent 51a36c7210
commit 291ff6818d
3 changed files with 11 additions and 15 deletions

View File

@@ -466,6 +466,8 @@ class Client extends BaseClient {
autoLogin: false,
debug: false,
failIfError: false,
userAgent: this.options.http.headers['User-Agent'],
wsProperties: this.options.ws.properties,
});
// Step 2: Add event
QR.on('ready', async (_, url) => {