Later alterations
This commit is contained in:
parent
fbf5cfa7d2
commit
f255f4b69e
@ -60,15 +60,17 @@ trait BroadcastLayoutMsgHdlr extends RightsManagementTrait {
|
||||
|
||||
outGW.send(msgEvent)
|
||||
|
||||
val notifyEvent = MsgBuilder.buildNotifyUserInMeetingEvtMsg(
|
||||
fromUserId,
|
||||
liveMeeting.props.meetingProp.intId,
|
||||
"info",
|
||||
"user",
|
||||
"app.layoutUpdate.label",
|
||||
"Notification to when the presenter changes dize of cams",
|
||||
Vector()
|
||||
)
|
||||
outGW.send(notifyEvent)
|
||||
if (body.pushLayout) {
|
||||
val notifyEvent = MsgBuilder.buildNotifyUserInMeetingEvtMsg(
|
||||
fromUserId,
|
||||
liveMeeting.props.meetingProp.intId,
|
||||
"info",
|
||||
"user",
|
||||
"app.layoutUpdate.label",
|
||||
"Notification to when the presenter changes size of cams",
|
||||
Vector()
|
||||
)
|
||||
outGW.send(notifyEvent)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,15 @@
|
||||
import { makeCall } from '/imports/ui/services/api';
|
||||
import { debounce } from '/imports/utils/debounce';
|
||||
|
||||
const setPushLayout = (pushLayout) => {
|
||||
makeCall('setPushLayout', { pushLayout });
|
||||
};
|
||||
|
||||
const setMeetingLayout = (options) => {
|
||||
makeCall('changeLayout', options)
|
||||
makeCall('changeLayout', options);
|
||||
};
|
||||
|
||||
export default {
|
||||
setPushLayout,
|
||||
setMeetingLayout,
|
||||
setMeetingLayout: debounce(setMeetingLayout, 1000),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user