This commit is contained in:
tiago.kayaya
2022-01-26 17:01:50 +01:00
parent 2ab70edd9d
commit 4a57300391
2 changed files with 35 additions and 4 deletions
@@ -96,7 +96,6 @@ export class NewGroupPage implements OnInit{
let name = this.groupName.split(' ').join('-');
//Take out all special characters in string
name = name.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
let body = { "name":name, }
let customFields = {}
let res:any;
@@ -116,7 +115,9 @@ export class NewGroupPage implements OnInit{
this.wsChatMethodsService.subscribeToRoomUpdate(res.result.rid, res.result);
this.addGroupMessage.emit(res.result.rid);
/* this.chatService.addGroup(body).subscribe(res=>{
/*
let body = { "name":name, }
this.chatService.addGroup(body).subscribe(res=>{
console.log('group created');
console.log(res['group']);