This commit is contained in:
tiago.kayaya
2022-01-14 09:00:42 +01:00
parent 6efcf203a1
commit 8b4be091cb
2 changed files with 4 additions and 6 deletions
+3 -3
View File
@@ -144,7 +144,7 @@ export class ChatPage implements OnInit {
console.log("Response from Websocket server: "+msg);
}); */
this.load()
//this.load()
}
ngOnInit() {
@@ -156,9 +156,9 @@ export class ChatPage implements OnInit {
this.authService.userData$.subscribe((res: any) => {
this.loggedUser = res;
//console.log(this.loggedUser);
this.load();
//this.load();
this.getDirectMessagesDB();
//this.getDirectMessagesDB();
});
/* websocket functions */