rename files

This commit is contained in:
Peter Maquiran
2022-09-30 15:13:36 +01:00
parent 64ad7bbc7f
commit 12cf5831a8
36 changed files with 256 additions and 315 deletions
+8 -8
View File
@@ -10,7 +10,7 @@ import { AlertController } from '@ionic/angular';
import { SessionStore } from '../store/session.service';
import { AESEncrypt } from '../services/aesencrypt.service';
import { CookieService } from 'ngx-cookie-service';
import { WsChatService } from 'src/app/services/chat/ws-chat.service';
import { RochetChatConnectorService } from 'src/app/services/chat/rochet-chat-connector.service';
import { Router } from '@angular/router';
import { NfService } from 'src/app/services/chat/nf.service'
import { MessageService } from 'src/app/services/chat/message.service';
@@ -20,7 +20,7 @@ import { RoomService } from './chat/room.service';
import { Storage } from '@ionic/storage';
import { InitialsService } from './functions/initials.service';
import { PermissionService } from './permission.service';
import { WsChatMethodsService } from 'src/app/services/chat/ws-chat-methods.service';
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
@Injectable({
providedIn: 'root'
})
@@ -41,7 +41,7 @@ export class AuthService {
public alertController: AlertController,
private aesencrypt: AESEncrypt,
private cookieService: CookieService,
private WsChatService: WsChatService,
private RochetChatConnectorService: RochetChatConnectorService,
private router: Router,
private NfService:NfService,
private processesService: ProcessesService,
@@ -49,7 +49,7 @@ export class AuthService {
private storage: Storage,
private initialsService: InitialsService,
public p: PermissionService,
public WsChatMethodsService: WsChatMethodsService, ) {
public ChatSystemService: ChatSystemService, ) {
this.headers = new HttpHeaders();
@@ -191,8 +191,8 @@ export class AuthService {
loginToChatWs() {
setTimeout(()=>{
this.WsChatService.connect();
this.WsChatService.login().then((message: any) => {
this.RochetChatConnectorService.connect();
this.RochetChatConnectorService.login().then((message: any) => {
SessionStore.user.RochetChatUserId = message.result.id
@@ -201,10 +201,10 @@ export class AuthService {
//
this.WsChatService.setStatus('online')
this.RochetChatConnectorService.setStatus('online')
setTimeout(() => {
this.WsChatMethodsService.getAllRooms();
this.ChatSystemService.getAllRooms();
}, 200);
// alert('wsLogin')