resubcribe on reconnect

This commit is contained in:
Peter Maquiran
2022-01-31 15:01:41 +01:00
parent 5bf5d15d76
commit 58e9698264
+1 -1
View File
@@ -380,7 +380,7 @@ export class WsChatService {
]
}
this.ws.send({message, requestId})
this.ws.send({message, requestId: 'loadHistory'})
return new Promise<chatHistory>((resolve, reject) => {
this.ws.registerCallback({type:'Onmessage', funx:(message)=>{