Added toaster for start and stop recording only for moderator.
This commit is contained in:
parent
2c752ff4cb
commit
db112d23d8
@ -883,6 +883,8 @@ bbb.notification.audio.joined = You have joined the audio conference
|
||||
bbb.notification.audio.left = You have left the audio conference
|
||||
bbb.notification.screenShare.started = Screenshare has started
|
||||
bbb.notification.screenShare.ened = Screenshare has ended
|
||||
bbb.notification.recording.started = This session is now being recorded
|
||||
bbb.notification.recording.stopped = This session is not being recorded anymore
|
||||
|
||||
bbb.langSelector.default=Default language
|
||||
|
||||
|
@ -564,6 +564,14 @@ package org.bigbluebutton.modules.users.services
|
||||
var e:BBBEvent = new BBBEvent(BBBEvent.CHANGE_RECORDING_STATUS);
|
||||
e.payload.remote = true;
|
||||
e.payload.recording = recording;
|
||||
|
||||
if (UsersUtil.amIModerator()) {
|
||||
if (recording) {
|
||||
Toaster.toast(ResourceUtil.getInstance().getString("bbb.notification.recording.started"), ToastType.DEFAULT);
|
||||
} else {
|
||||
Toaster.toast(ResourceUtil.getInstance().getString("bbb.notification.recording.stopped"), ToastType.DEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
dispatcher.dispatchEvent(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user