Selaa lähdekoodia

Conference center mute only participants.

Mark Crane 12 vuotta sitten
vanhempi
commit
bedc13f3ef
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      includes/install/scripts/conference_center.lua

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

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