diff --git a/src/app/components/shared/_dialogs/room-create/room-create.component.ts b/src/app/components/shared/_dialogs/room-create/room-create.component.ts index 7f99231ac601d788e4239196f47070a3e5733124..5ba8ca0610ec22a2c761165c8a83a9c9aca62b83 100644 --- a/src/app/components/shared/_dialogs/room-create/room-create.component.ts +++ b/src/app/components/shared/_dialogs/room-create/room-create.component.ts @@ -63,6 +63,7 @@ export class RoomCreateComponent implements OnInit { this.translateService.get('home-page.created-2').subscribe(msg => { msg2 = msg; }); this.notification.show(msg1 + longRoomName + msg2); this.authService.setAccess(room.shortId, UserRole.CREATOR); + this.authService.assignRole(UserRole.CREATOR); this.router.navigate([`/creator/room/${this.room.shortId}`]); this.dialogRef.close(); });