remove refresh token

This commit is contained in:
Peter Maquiran
2022-10-11 13:56:56 +01:00
parent 972173413e
commit cc247134a3
17 changed files with 31 additions and 24 deletions
+3 -4
View File
@@ -131,7 +131,7 @@ export class ChatPage implements OnInit {
ngOnInit() {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.segment = "Contactos";
@@ -147,7 +147,6 @@ export class ChatPage implements OnInit {
if (event instanceof NavigationEnd && event.url == '/home/chat' ||
event instanceof NavigationEnd && event.url == "/home/chat?gbCreateGroup=true") {
this.chatService.refreshtoken();
this.checkCreateGroup();
}
@@ -234,7 +233,7 @@ export class ChatPage implements OnInit {
}
openMessagesPage(rid) {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.roomId = rid;
if (window.innerWidth < 701) {
@@ -282,7 +281,7 @@ export class ChatPage implements OnInit {
}
openGroupMessagesPage(rid) {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.roomId = rid;
if (window.innerWidth < 701) {
@@ -29,7 +29,7 @@ export class EditGroupPage implements OnInit {
}
ngOnInit() {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.getRoomInfo();
}
@@ -56,7 +56,7 @@ export class GroupContactsPage implements OnInit {
}
ngOnInit() {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.loadUsers();
this.getMembers();
@@ -41,7 +41,7 @@ export class ContactsPage implements OnInit {
}
ngOnInit() {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.loadUsers();
}
@@ -65,7 +65,7 @@ export class ContactsPage implements OnInit {
});
this.showLoader = false;
}, (error) =>{
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
});
}
+1 -1
View File
@@ -162,7 +162,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
ngOnInit() {
this.createDirectoryImage()
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
this.ChatSystemService.getUserOfRoom(this.roomId).then((value) => {
})
@@ -43,7 +43,7 @@ export class NewGroupPage implements OnInit {
}
ngOnInit() {
this.chatService.refreshtoken();
// this.chatService.refreshtoken();
// console.log(this.documents)
}