unify web + mobile and use tcp socket

This commit is contained in:
SamuelScheit
2023-04-30 12:30:08 +02:00
parent 4a2db5a033
commit 65aa4a7d99
6 changed files with 12 additions and 58 deletions
-4
View File
@@ -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)
})