This commit is contained in:
Peter Maquiran
2022-02-09 17:06:56 +01:00
parent faa30ee56e
commit cb039a3ebd
@@ -66,6 +66,14 @@ export class WsChatMethodsService {
type: 'reConnect',
funx: ()=>{
this.subscribeToRoom()
if(this.getDmRoom(this.currentRoom)) {
this.getDmRoom(this.currentRoom).loadHistory({forceUpdate: true})
} else if(this.getGroupRoom(this.currentRoom)) {
this.getGroupRoom(this.currentRoom).loadHistory({forceUpdate: true})
}
}
})