This commit is contained in:
tiago.kayaya
2021-04-11 07:05:39 +01:00
parent 8ce6a3c01e
commit ece841f28c
4 changed files with 19 additions and 9 deletions
@@ -75,14 +75,12 @@ export class MessagesPage implements OnInit, AfterViewChecked {
}
sendMessage(){
let body = {
"message":
{
"rid": this.roomId, "msg": this.message
}
}
this.chatService.sendMessage(body).subscribe(res=> {
this.loadMessages();
});