unify web + mobile and use tcp socket
This commit is contained in:
@@ -6,10 +6,6 @@ export class MobileSocket extends Socket {
|
||||
constructor(public config: SocketConfig) {
|
||||
super()
|
||||
|
||||
if(config.auth.creds.registered) {
|
||||
this.connect()
|
||||
}
|
||||
|
||||
this.on('data', (d) => {
|
||||
this.emit('message', d)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user