This commit is contained in:
Eudes Inácio
2022-04-24 20:20:32 +01:00
8 changed files with 19 additions and 8 deletions
@@ -33,7 +33,7 @@ export class ContactsPage implements OnInit {
private chatService: ChatService,
private authService: AuthService,
public ThemeService: ThemeService,
public WsChatMethodsService: WsChatMethodsService
public WsChatMethodsService: WsChatMethodsService,
)
{
this.loggedUser = authService.ValidatedUserChat['data'];
@@ -106,6 +106,7 @@ export class ContactsPage implements OnInit {
console.log(this.room._id);
this.getDirectMessage(this.room._id);
this.WsChatMethodsService.getAllRooms()
});
}
getDirectMessage(roomId:any){