This commit is contained in:
Peter Maquiran
2023-08-14 12:15:18 +01:00
parent fa6450f328
commit 0f3416cc30
7 changed files with 28 additions and 11 deletions
@@ -706,6 +706,22 @@ export class ChatSystemService {
}
}
async createGroup__(name, customFields = {}) {
const res: any = await this.createPrivateRoom(name, SessionStore.user.UserName, customFields);
console.log('room is created', res)
if(res?.result?.rid) {
try {
await this.getAllRooms();
return res
} catch (e) {}
console.log('room is loaded')
return res
} else {
return res
}
}
getGroupByName(name ) {
return this._group.find( e=> e.name == name)
}
+1 -1
View File
@@ -44,7 +44,7 @@ export class TaskService {
AllProcess = []
showLoader: boolean = false
showLoaderNum = 0
showLoaderNum: number = 0
loadCount = false
loadNum = 0