mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
save
This commit is contained in:
@@ -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']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user