diff --git a/src/app/services/chat/ws-chat-methods.service.ts b/src/app/services/chat/ws-chat-methods.service.ts index 7418057e8..8aa2b9ac0 100644 --- a/src/app/services/chat/ws-chat-methods.service.ts +++ b/src/app/services/chat/ws-chat-methods.service.ts @@ -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}) + } + } })