|
@@ -63,7 +63,7 @@ export class CallModalComponent implements OnInit {
|
|
query.equalTo('profile', this.profile?.id);
|
|
query.equalTo('profile', this.profile?.id);
|
|
query.notEqualTo('isDeleted', true);
|
|
query.notEqualTo('isDeleted', true);
|
|
this.room = await query.first();
|
|
this.room = await query.first();
|
|
- console.log(this.room);
|
|
|
|
|
|
+ // console.log(this.room);
|
|
if (!this.room?.id) return;
|
|
if (!this.room?.id) return;
|
|
this.userStatus = await this.connectTask.getState(
|
|
this.userStatus = await this.connectTask.getState(
|
|
this.profile?.get('user').id,
|
|
this.profile?.get('user').id,
|
|
@@ -132,7 +132,6 @@ export class CallModalComponent implements OnInit {
|
|
this.isLiveing = true;
|
|
this.isLiveing = true;
|
|
let path = location.pathname;
|
|
let path = location.pathname;
|
|
if (path.indexOf('/live/link-room/') != -1) return;
|
|
if (path.indexOf('/live/link-room/') != -1) return;
|
|
- console.log(this.room);
|
|
|
|
this.router.navigate(['live/link-room/' + this.room?.id]);
|
|
this.router.navigate(['live/link-room/' + this.room?.id]);
|
|
}
|
|
}
|
|
}, 100);
|
|
}, 100);
|