Prechádzať zdrojové kódy

Conference center mute only participants.

Mark Crane 12 rokov pred
rodič
commit
bedc13f3ef

+ 3 - 1
includes/install/scripts/conference_center.lua

@@ -348,7 +348,9 @@
 
 
 			--set flags and moderator controls
 			--set flags and moderator controls
 				if (mute == "true") then
 				if (mute == "true") then
-					flags = flags .. "mute";
+					if (member_type == "participant") then
+						flags = flags .. "mute";
+					end
 				end
 				end
 				if (member_type == "moderator") then
 				if (member_type == "moderator") then
 					--set as the moderator
 					--set as the moderator