Remove relevant console log,

This commit is contained in:
Eudes Inácio
2022-04-28 09:32:27 +01:00
parent 3021e8b0e1
commit 2826cea9df
153 changed files with 1001 additions and 1132 deletions
@@ -31,7 +31,7 @@ export class ChatPopoverPage implements OnInit {
}
ngOnInit() {
console.log(this.roomId);
}
close(action:any){
@@ -79,7 +79,7 @@ export class ChatPopoverPage implements OnInit {
let res:any = await this.wsChatMethodsService.leaveRoom(this.roomId);
console.log(res.error.error);
if(res.error){
if(res.error.error = "error-you-are-last-owner"){
@@ -107,7 +107,7 @@ export class ChatPopoverPage implements OnInit {
if(this.room.t === 'p'){
this.chatService.leaveGroup(body).subscribe(res=>{
console.log(res);
this.close('leave');
},
(e)=>{
@@ -130,7 +130,7 @@ export class ChatPopoverPage implements OnInit {
}
else{
this.chatService.leaveChannel(body).subscribe(res=>{
console.log(res);
this.close('leave');
},
(e)=>{
@@ -158,12 +158,12 @@ export class ChatPopoverPage implements OnInit {
if(this.room.t === 'p'){
this.chatService.deleteGroup(body).subscribe(res=>{
console.log(res);
});
}
else{
this.chatService.deleteChannel(body).subscribe(res=>{
console.log(res);
});
}
});