mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
rename files
This commit is contained in:
@@ -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)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user