mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve
This commit is contained in:
@@ -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})
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user