SEBWIN-450: Reverted change regarding window visibility.
This commit is contained in:
parent
c91292493b
commit
f77181ab25
1 changed files with 11 additions and 0 deletions
|
@ -12,6 +12,7 @@ using System.IO;
|
|||
using System.Security.Cryptography;
|
||||
using SafeExamBrowser.Settings;
|
||||
using SafeExamBrowser.Settings.Applications;
|
||||
using SafeExamBrowser.Settings.Proctoring;
|
||||
|
||||
namespace SafeExamBrowser.Configuration.ConfigurationData
|
||||
{
|
||||
|
@ -68,6 +69,16 @@ namespace SafeExamBrowser.Configuration.ConfigurationData
|
|||
private void InitializeProctoringSettings(AppSettings settings)
|
||||
{
|
||||
settings.Proctoring.Enabled = settings.Proctoring.JitsiMeet.Enabled || settings.Proctoring.Zoom.Enabled;
|
||||
|
||||
if (settings.Proctoring.JitsiMeet.Enabled && !settings.Proctoring.JitsiMeet.ReceiveVideo)
|
||||
{
|
||||
settings.Proctoring.WindowVisibility = WindowVisibility.Hidden;
|
||||
}
|
||||
|
||||
if (settings.Proctoring.Zoom.Enabled && !settings.Proctoring.Zoom.ReceiveVideo)
|
||||
{
|
||||
settings.Proctoring.WindowVisibility = WindowVisibility.Hidden;
|
||||
}
|
||||
}
|
||||
|
||||
private void RemoveLegacyBrowsers(AppSettings settings)
|
||||
|
|
Loading…
Reference in a new issue