fix errors

This commit is contained in:
Peter Maquiran
2023-08-14 21:26:23 +01:00
parent 0c64632986
commit 3dae0db03e
9 changed files with 39 additions and 12 deletions
@@ -190,11 +190,22 @@ export class GroupContactsPage implements OnInit {
});
}
loading = false
updateGroup(){
if(this.loading) {
return
}
this.loading = true
console.log('this.room', this.room)
this.chatService.getRoomInfo(this.room._id).subscribe(room=>{
this.room = room['room'];
this.addContacts(this.room);
this.openGroupMessages(room['room']._id);
this.loading = false
}, ()=> {
this.loading = false
});
}