add notify finish breakout room
This commit is contained in:
parent
c1ee189d57
commit
376261f09d
@ -5,6 +5,7 @@ import { defineMessages, injectIntl } from 'react-intl';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import Auth from '/imports/ui/services/auth';
|
import Auth from '/imports/ui/services/auth';
|
||||||
import Users from '/imports/api/2.0/users';
|
import Users from '/imports/api/2.0/users';
|
||||||
|
import notify from '/imports//ui/components/toast/service';
|
||||||
import Breakouts from '/imports/api/2.0/breakouts';
|
import Breakouts from '/imports/api/2.0/breakouts';
|
||||||
import Meetings from '/imports/api/2.0/meetings';
|
import Meetings from '/imports/api/2.0/meetings';
|
||||||
|
|
||||||
@ -116,7 +117,15 @@ export default withRouter(injectIntl(withModalMounter(createContainer((
|
|||||||
Auth.clearCredentials().then(window.close);
|
Auth.clearCredentials().then(window.close);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Breakouts.find().observeChanges({
|
||||||
|
removed() {
|
||||||
|
notify('fechou a breakout room');
|
||||||
|
|
||||||
|
if(wasInAudio) {
|
||||||
|
notify('join audio');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
});
|
||||||
return {
|
return {
|
||||||
closedCaption: getCaptionsStatus() ? <ClosedCaptionsContainer /> : null,
|
closedCaption: getCaptionsStatus() ? <ClosedCaptionsContainer /> : null,
|
||||||
fontSize: getFontSize(),
|
fontSize: getFontSize(),
|
||||||
|
Loading…
Reference in New Issue
Block a user