This commit is contained in:
Peter Maquiran
2022-02-10 18:07:06 +01:00
parent 382ee2fd1b
commit 08da9419bb
12 changed files with 66 additions and 34 deletions
+1 -3
View File
@@ -125,8 +125,6 @@ export class AuthService {
if(responseChat) {
this.loginToChatWs()
console.log('Login to Rocket chat OK', responseChat);
this.ValidatedUserChat = responseChat;
localStorage.setItem('userChat', JSON.stringify(responseChat));
@@ -146,7 +144,7 @@ export class AuthService {
}, expirationDate)
}
private loginToChatWs() {
loginToChatWs() {
setTimeout(()=>{
this.WsChatService.connect();