diff --git a/src/app/shared/chat/new-group/new-group.page.ts b/src/app/shared/chat/new-group/new-group.page.ts index 2c11354f5..311d5e962 100644 --- a/src/app/shared/chat/new-group/new-group.page.ts +++ b/src/app/shared/chat/new-group/new-group.page.ts @@ -108,7 +108,7 @@ export class NewGroupPage implements OnInit{ this.addGroupMessage.emit(res.result.rid); await this.wsChatMethodsService.getAllRooms(); - if(this.wsChatMethodsService.getGroupRoom(res.result.rid)) { + if(!this.wsChatMethodsService.getGroupRoom(res.result.rid)) { setTimeout(()=> { this.documents.forEach(element => { this.wsChatMethodsService.getGroupRoom(res.result.rid).send({