fix add user to chat

This commit is contained in:
Peter Maquiran
2023-04-09 21:03:57 +01:00
parent 808aec270b
commit 3c8a168b9b
2 changed files with 11 additions and 7 deletions
@@ -246,6 +246,10 @@ export class GroupContactsPage implements OnInit {
selectedContact(user:any){
/* this.groupName = this.room.name; */
user.isChecked = !user.isChecked;
const userIndex = this.users.findIndex((e) => e._id == user._id)
this.users[userIndex] = user
}
addContacts(roomId:any){