diff --git a/bigbluebutton-html5/imports/ui/components/meeting-ended/component.jsx b/bigbluebutton-html5/imports/ui/components/meeting-ended/component.jsx index 9c33f6cf5e..67b2d7df5b 100755 --- a/bigbluebutton-html5/imports/ui/components/meeting-ended/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/meeting-ended/component.jsx @@ -142,7 +142,8 @@ class MeetingEnded extends PureComponent { 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) { this.endWhenNoModeratorMinutes = meeting.durationProps.endWhenNoModeratorDelayInMinutes;