Bug fix + Url query

This commit is contained in:
Adhiraj
2020-07-13 17:00:19 +05:30
parent 8ff7839071
commit 169f0bb77f
4 changed files with 25 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ export default class WAConnectionConnector extends WAConnectionValidator {
.then(user => {
this.startKeepAliveRequest()
this.conn.on ('error', null)
this.conn.removeAllListeners ('error')
this.conn.on ('close', () => this.unexpectedDisconnect ('closed'))
resolve(user)