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
+4 -4
View File
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { ChatService } from '../chat.service';
import { WsChatMethodsService } from '../chat/ws-chat-methods.service';
import { ChatSystemService } from '../chat/chat-system.service';
@Injectable({
providedIn: 'root'
@@ -10,7 +10,7 @@ export class TimeService {
room: any;
constructor(private chatService: ChatService,
public wsChatMethodsService: WsChatMethodsService,) { }
public ChatSystemService: ChatSystemService,) { }
showDateDuration(start:any) {
let end;
@@ -93,13 +93,13 @@ export class TimeService {
if(this.room.t === 'p'){
this.chatService.deleteGroup(body).subscribe(res=>{
this.wsChatMethodsService.deleteRoom(roomId)
this.ChatSystemService.deleteRoom(roomId)
});
}
else{
this.chatService.deleteChannel(body).subscribe(res=>{
this.wsChatMethodsService.deleteRoom(roomId)
this.ChatSystemService.deleteRoom(roomId)
});
}
});