mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
remove refresh token
This commit is contained in:
@@ -34,7 +34,7 @@ export class EditGroupPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.chatService.refreshtoken();
|
||||
// this.chatService.refreshtoken();
|
||||
this.getRoomInfo();
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ export class GroupContactsPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.chatService.refreshtoken();
|
||||
// this.chatService.refreshtoken();
|
||||
//this.getRoomInfo();
|
||||
this.loadUsers();
|
||||
|
||||
|
||||
@@ -177,7 +177,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
||||
|
||||
ngOnInit() {
|
||||
this.ChatSystemService.getAllRooms();
|
||||
this.chatService.refreshtoken();
|
||||
// this.chatService.refreshtoken();
|
||||
this.scrollToBottom();
|
||||
this.getChatMembers();
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import { SessionStore } from 'src/app/store/session.service';
|
||||
import { GroupContactsPage } from '../group-messages/group-contacts/group-contacts.page';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { ThemeService } from 'src/app/services/theme.service';
|
||||
|
||||
import { RouteService } from 'src/app/services/route.service';
|
||||
@Component({
|
||||
selector: 'app-new-group',
|
||||
templateUrl: './new-group.page.html',
|
||||
@@ -25,6 +25,7 @@ export class NewGroupPage implements OnInit{
|
||||
selectedDuration = ['','',''];
|
||||
countDownTime:any;
|
||||
task:any;
|
||||
link = ''
|
||||
documents: any;
|
||||
loggedUserChat: any;
|
||||
|
||||
@@ -42,7 +43,8 @@ export class NewGroupPage implements OnInit{
|
||||
public ChatSystemService: ChatSystemService,
|
||||
private authService: AuthService,
|
||||
private toastService: ToastService,
|
||||
public ThemeService: ThemeService
|
||||
public ThemeService: ThemeService,
|
||||
private RouteService: RouteService,
|
||||
)
|
||||
{
|
||||
this.loggedUserChat = authService.ValidatedUserChat['data'];
|
||||
@@ -52,10 +54,11 @@ export class NewGroupPage implements OnInit{
|
||||
ngOnInit() {
|
||||
this.task = this.dataService.get("task");
|
||||
if(this.task) {
|
||||
this.link = this.dataService.get("link");
|
||||
this.groupName = this.task.Folio;
|
||||
this.documents = this.dataService.get("documents");
|
||||
console.log(this.dataService.data);
|
||||
this.dataService.set("newGroup", false);
|
||||
this.dataService.set("link", false);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -74,7 +77,12 @@ export class NewGroupPage implements OnInit{
|
||||
|
||||
close() {
|
||||
// this.addGroupMessage.emit();
|
||||
this.closeAllDesktopComponents.emit();
|
||||
if(this.link) {
|
||||
this.RouteService.goBack();
|
||||
this.dataService.set("link", false);
|
||||
} else {
|
||||
this.closeAllDesktopComponents.emit();
|
||||
}
|
||||
}
|
||||
|
||||
async createGroup() {
|
||||
|
||||
@@ -35,7 +35,7 @@ export class ChatPopoverPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.chatService.refreshtoken();
|
||||
// this.chatService.refreshtoken();
|
||||
}
|
||||
|
||||
close(action:any){
|
||||
|
||||
@@ -25,7 +25,7 @@ export class MessagesOptionsPage implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.chatService.refreshtoken();
|
||||
// this.chatService.refreshtoken();
|
||||
}
|
||||
|
||||
close(){
|
||||
|
||||
Reference in New Issue
Block a user