continue working on exit from room

This commit is contained in:
tiago.kayaya
2022-01-26 09:19:54 +01:00
parent c6ec2abc1f
commit 58a32f45d4
7 changed files with 161 additions and 19 deletions
+5 -1
View File
@@ -89,6 +89,10 @@ export class RoomService {
this.WsChatService.send(this.id, msg)
}
leave(rid?) {
this.WsChatService.leaveRoom(this.id)
}
getMsgFromDBMobile() {
console.log('ALL MSG DBBB', this.id)
this.sqlservice.getAllChatMSG(this.id).then((msg: any = []) => {
@@ -159,7 +163,7 @@ export class RoomService {
})
}
// runs onces only
loadHistory(limit = 100) {