bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/end-meeting-confirmation/service.js

15 lines
323 B
JavaScript
Raw Normal View History

import Auth from '/imports/ui/services/auth';
import Meetings from '/imports/api/meetings';
2021-01-21 04:49:07 +08:00
const getMeetingTitle = () => {
const meeting = Meetings.findOne({
meetingId: Auth.meetingID,
}, { fields: { name: 1, 'breakoutPolicies.sequence': 1 } });
2021-01-21 04:49:07 +08:00
return meeting.name;
2021-01-21 04:49:07 +08:00
};
export default {
2021-01-21 04:49:07 +08:00
getMeetingTitle,
2021-01-23 03:48:50 +08:00
};