2020-06-26 20:45:03 +08:00
|
|
|
import Auth from '/imports/ui/services/auth';
|
2021-10-20 04:35:39 +08:00
|
|
|
import Meetings from '/imports/api/meetings';
|
2020-06-26 20:45:03 +08:00
|
|
|
|
2021-01-21 04:49:07 +08:00
|
|
|
const getMeetingTitle = () => {
|
|
|
|
const meeting = Meetings.findOne({
|
|
|
|
meetingId: Auth.meetingID,
|
2024-03-26 19:57:28 +08:00
|
|
|
}, { fields: { name: 1, 'breakoutPolicies.sequence': 1 } });
|
2021-01-21 04:49:07 +08:00
|
|
|
|
2024-03-26 19:57:28 +08:00
|
|
|
return meeting.name;
|
2021-01-21 04:49:07 +08:00
|
|
|
};
|
|
|
|
|
2020-06-26 20:45:03 +08:00
|
|
|
export default {
|
2021-01-21 04:49:07 +08:00
|
|
|
getMeetingTitle,
|
2021-01-23 03:48:50 +08:00
|
|
|
};
|