Configuration for remaining time

This commit is contained in:
Lucas Zawacki 2020-06-17 14:34:02 +00:00
parent 118990885c
commit a586c7db55
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,8 @@ const ENABLE_NETWORK_MONITORING = Meteor.settings.public.networkMonitoring.enabl
const HELP_LINK = METEOR_SETTINGS_APP.helpLink;
const REMAINING_TIME_THRESHOLD = METEOR_SETTINGS_APP.remainingTimeThreshold;
const intlMessages = defineMessages({
failedMessage: {
id: 'app.failedMessage',
@ -205,7 +207,7 @@ export default injectIntl(withTracker(({ intl }) => {
if (meetingTimeRemaining && Meeting) {
const { timeRemaining } = meetingTimeRemaining;
const { isBreakout } = Meeting.meetingProp;
const underThirtyMin = timeRemaining && timeRemaining <= (30 * 60);
const underThirtyMin = timeRemaining && timeRemaining <= (REMAINING_TIME_THRESHOLD * 60);
if (underThirtyMin && !isBreakout) {
data.message = (

View File

@ -25,6 +25,7 @@ public:
ipv4FallbackDomain: ""
allowLogout: true
allowFullscreen: true
remainingTimeThreshold: 5
defaultSettings:
application:
animations: true