This commit is contained in:
Peter Maquiran
2022-06-10 14:08:30 +01:00
parent 16ae54d8d1
commit aa6260e868
5 changed files with 13 additions and 12 deletions
+4 -2
View File
@@ -202,12 +202,14 @@ export class RoomService {
if(this.t === 'p') {
this.chatService.deleteGroup(body).subscribe(res=>{
this.wsChatMethodsService.deleteRoom(this.id)
this.wsChatMethodsService.deleteRoom(this.id);
this.wsChatMethodsService.getAllRooms();
});
}
else {
this.chatService.deleteChannel(body).subscribe(res=>{
this.wsChatMethodsService.deleteRoom(this.id)
this.wsChatMethodsService.deleteRoom(this.id);
this.wsChatMethodsService.getAllRooms();
});
}
});