This commit is contained in:
tiago.kayaya
2022-01-24 15:28:36 +01:00
parent 952cd81963
commit e65b91ab08
2 changed files with 4 additions and 4 deletions
@@ -102,7 +102,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
this.wsChatMethodsService.getGroupRoom(this.roomId).loadHistory();
this.wsChatMethodsService.getGroupRoom(this.roomId).scrollDown = this.scrollToBottomClicked;
setTimeout(()=>{
this.scrollToBottomClicked()
}, 50)
@@ -323,7 +323,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
sendMessage() {
this.wsChatMethodsService.getDmRoom(this.roomId).send(this.message)
this.wsChatMethodsService.getGroupRoom(this.roomId).send(this.message)
this.message = "";
}