From 609be158da8e672d7120964efc91adaf90bc33f8 Mon Sep 17 00:00:00 2001 From: konradSC Date: Fri, 20 Mar 2020 15:29:44 -0400 Subject: [PATCH] Setting a conference room sounds=false (#5189) Right now settings a conference room's to 'sounds=false' doesn't do anything. This fixes that bug. Additional updates to the script most likely need to be made after this so that conference_enter_sound and conference_exit_sound honor the value specified in the conference profile. I didn't see any code referencing the conference profile values for sounds. --- app/scripts/resources/scripts/app/conference_center/index.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/scripts/resources/scripts/app/conference_center/index.lua b/app/scripts/resources/scripts/app/conference_center/index.lua index 9f262e5b75..09d8f54d74 100644 --- a/app/scripts/resources/scripts/app/conference_center/index.lua +++ b/app/scripts/resources/scripts/app/conference_center/index.lua @@ -670,6 +670,9 @@ --set the exit sound if (sounds == "true") then session:execute("set","conference_exit_sound="..exit_sound); + else + session:execute("set","conference_enter_sound=none"); + session:execute("set","conference_exit_sound=none"); end --set flags and moderator controls