This commit is contained in:
Peter Maquiran
2022-09-29 16:43:32 +01:00
parent 8c729e900d
commit a5521585c7
6 changed files with 23 additions and 28 deletions
@@ -130,10 +130,9 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
}
ngOnChanges(changes: SimpleChanges): void {
this.chatService.refreshtoken();
this.wsChatMethodsService.getAllRooms();
this.wsChatMethodsService.getDmRoom(this.roomId).loadHistory({})
// this.wsChatMethodsService.getDmRoom(this.roomId).loadHistory({})
this.wsChatMethodsService.getDmRoom(this.roomId).scrollDown = this.scrollToBottomClicked