add refesh token

This commit is contained in:
Peter Maquiran
2022-09-29 15:23:27 +01:00
parent 50a7290edf
commit 8c729e900d
4 changed files with 11 additions and 17 deletions
@@ -144,17 +144,14 @@ export class GroupMessagesPage implements OnInit, OnChanges, AfterViewInit, OnDe
}
ngOnChanges(changes: SimpleChanges): void {
this.chatService.refreshtoken();
this.getRoomInfo();
//this.scrollToBottom();
this.wsChatMethodsService.getGroupRoom(this.roomId).loadHistory({});
//
this.wsChatMethodsService.openRoom(this.roomId)
this.wsChatMethodsService.getGroupRoom(this.roomId).scrollDown = this.scrollToBottomClicked
this.groupNameFormart = this.wsChatMethodsService.getGroupRoom(this.roomId).name.split('-').join(' ')
this.showAvatar = false
setTimeout(() => {