Skip to content

Commit

Permalink
fix: Meeting.ts name issue (#1642)
Browse files Browse the repository at this point in the history
* fix: move meeting.ts

* fix: rename meeting.ts to Meeting.ts

* sync with a38a9
  • Loading branch information
embbnux authored Aug 18, 2020
1 parent 8f052a2 commit 2bb4993
Showing 1 changed file with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,11 @@ export class Meeting extends RcModule<Record<string, any>, MeetingActionTypes> {
requirePasswordForPmiMeetings: lockedRequirePasswordForPmiMeetings,
} = this.scheduleLockedSettings;

if (requirePasswordForPmiMeetings === PMIRequirePassword.JBH_ONLY) {
if (lockedRequirePasswordForPmiMeetings) {
processedMeeting._lockRequireMeetingPassword = allowJoinBeforeHost;
}
if (
lockedRequirePasswordForPmiMeetings &&
requirePasswordForPmiMeetings === PMIRequirePassword.JBH_ONLY
) {
processedMeeting._lockRequireMeetingPassword = allowJoinBeforeHost;
if (allowJoinBeforeHost) {
processedMeeting._requireMeetingPassword = true;
}
Expand All @@ -437,8 +438,11 @@ export class Meeting extends RcModule<Record<string, any>, MeetingActionTypes> {

@proxify
private async fetchPersonalMeeting(): Promise<MeetingInfoResponse> {
const serviceInfo = await this.getMeetingServiceInfo();
const personalMeetingId = serviceInfo.externalUserInfo.personalMeetingId;
let personalMeetingId = this.personalMeeting && this.personalMeeting.id;
if (!personalMeetingId) {
const serviceInfo = await this.getMeetingServiceInfo();
personalMeetingId = serviceInfo.externalUserInfo.personalMeetingId;
}
const meetingInfoResponse = await this.getMeeting(personalMeetingId);
return meetingInfoResponse;
}
Expand Down

0 comments on commit 2bb4993

Please sign in to comment.