bigbluebutton-Github/bigbluebutton-html5/imports/api/deskshare/server/publishers.js

9 lines
307 B
JavaScript
Raw Normal View History

2016-05-13 03:50:02 +08:00
import Deskshare from '/imports/api/deskshare';
2016-05-10 23:23:22 +08:00
import { logger } from '/imports/startup/server/logger';
2016-05-07 04:15:47 +08:00
2016-05-17 02:12:27 +08:00
Meteor.publish('deskshare', function (credentials) {
const { meetingId } = credentials;
2016-05-13 01:43:59 +08:00
logger.info(`publishing deskshare for ${meetingId}`);
2016-05-10 23:23:22 +08:00
return Deskshare.find({ meetingId: meetingId });
2016-05-07 04:15:47 +08:00
});