uncomented login chat

This commit is contained in:
tiago.kayaya
2022-02-24 12:10:09 +01:00
parent c073238c21
commit f8c4f29009
5 changed files with 15 additions and 15 deletions
+4 -4
View File
@@ -102,8 +102,8 @@ export class LoginPage implements OnInit {
if (attempt) {
if (attempt.UserId == SessionStore.user.UserId) {
await this.authService.SetSession(attempt, this.userattempt);
// await this.authService.loginChat();
// await this.authService.loginToChatWs()
await this.authService.loginChat();
await this.authService.loginToChatWs()
this.getToken();
SessionStore.setInativity(true);
@@ -117,8 +117,8 @@ export class LoginPage implements OnInit {
await this.authService.SetSession(attempt, this.userattempt);
this.changeProfileService.run()
// await this.authService.loginChat();
// await this.authService.loginToChatWs()
await this.authService.loginChat();
await this.authService.loginToChatWs()
this.getToken();
this.router.navigateByUrl('/pin', { replaceUrl: true });
}