This commit is contained in:
tiago.kayaya
2021-12-14 17:12:32 +01:00
parent 243cbe5cf9
commit 7100981467
@@ -120,16 +120,6 @@ export class ContactsPage implements OnInit {
this.openMessagesModal(this.room._id);
});
}
/* getDirectMessage(roomId:any){
console.log(roomId);
this.chatService.getAllDirectMessages().subscribe(res=>{
let result = res['ims'].filter(data => data._id == roomId);
this.dm = result[0];
console.log(this.dm);
this.openModal(this.dm);
});
} */
async openMessagesModal(roomId: any) {