Merge pull request #20124 from prlanzarin/u27/fix/assorted-crashes-redux
fix: crash at meeting-ended due to undefined access + incorrect meetingID
This commit is contained in:
commit
850e8af19a
@ -142,7 +142,8 @@ class MeetingEnded extends PureComponent {
|
|||||||
this.localUserRole = user.role;
|
this.localUserRole = user.role;
|
||||||
}
|
}
|
||||||
|
|
||||||
const meeting = Meetings.findOne({ id: user?.meetingID });
|
const meetingID = user?.meetingId || Auth.meetingID;
|
||||||
|
const meeting = Meetings.findOne({ id: meetingID });
|
||||||
if (meeting) {
|
if (meeting) {
|
||||||
this.endWhenNoModeratorMinutes = meeting.durationProps.endWhenNoModeratorDelayInMinutes;
|
this.endWhenNoModeratorMinutes = meeting.durationProps.endWhenNoModeratorDelayInMinutes;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user