Skip to content

Commit 2bb4993

Browse files
authored
fix: Meeting.ts name issue (#1642)
* fix: move meeting.ts * fix: rename meeting.ts to Meeting.ts * sync with a38a9
1 parent 8f052a2 commit 2bb4993

File tree

1 file changed

+10
-6
lines changed
  • packages/ringcentral-integration/modules/Meeting

1 file changed

+10
-6
lines changed

packages/ringcentral-integration/modules/Meeting/meeting.ts renamed to packages/ringcentral-integration/modules/Meeting/Meeting.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,10 +423,11 @@ export class Meeting extends RcModule<Record<string, any>, MeetingActionTypes> {
423423
requirePasswordForPmiMeetings: lockedRequirePasswordForPmiMeetings,
424424
} = this.scheduleLockedSettings;
425425

426-
if (requirePasswordForPmiMeetings === PMIRequirePassword.JBH_ONLY) {
427-
if (lockedRequirePasswordForPmiMeetings) {
428-
processedMeeting._lockRequireMeetingPassword = allowJoinBeforeHost;
429-
}
426+
if (
427+
lockedRequirePasswordForPmiMeetings &&
428+
requirePasswordForPmiMeetings === PMIRequirePassword.JBH_ONLY
429+
) {
430+
processedMeeting._lockRequireMeetingPassword = allowJoinBeforeHost;
430431
if (allowJoinBeforeHost) {
431432
processedMeeting._requireMeetingPassword = true;
432433
}
@@ -437,8 +438,11 @@ export class Meeting extends RcModule<Record<string, any>, MeetingActionTypes> {
437438

438439
@proxify
439440
private async fetchPersonalMeeting(): Promise<MeetingInfoResponse> {
440-
const serviceInfo = await this.getMeetingServiceInfo();
441-
const personalMeetingId = serviceInfo.externalUserInfo.personalMeetingId;
441+
let personalMeetingId = this.personalMeeting && this.personalMeeting.id;
442+
if (!personalMeetingId) {
443+
const serviceInfo = await this.getMeetingServiceInfo();
444+
personalMeetingId = serviceInfo.externalUserInfo.personalMeetingId;
445+
}
442446
const meetingInfoResponse = await this.getMeeting(personalMeetingId);
443447
return meetingInfoResponse;
444448
}

0 commit comments

Comments
 (0)