diff --git a/app/recordings/recordings.php b/app/recordings/recordings.php index f9396b8455..50ca5ff637 100644 --- a/app/recordings/recordings.php +++ b/app/recordings/recordings.php @@ -39,7 +39,7 @@ //add the settings object $settings = new settings(["domain_uuid" => $_SESSION['domain_uuid'], "user_uuid" => $_SESSION['user_uuid']]); - $speech_enabled = $settings->get('ai', 'speech_enabled'); + $speech_enabled = $settings->get('speech', 'enabled'); //set additional variables $action = $_REQUEST["action"] ?? ''; @@ -384,9 +384,6 @@ } } -//set the default value for speech - $speech_enabled = !empty($_SESSION['ai']['speech_enabled']['boolean']) && !empty($_SESSION['ai']['speech_engine']['text']); - //create token $object = new token; $token = $object->create($_SERVER['PHP_SELF']);