Commit 02504bcf authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Hide mute button when user is not allowed to present.

parent 6e534810
......@@ -391,6 +391,8 @@ function setButtonsVisibility() {
setVisibility('presentbutton', permissions.present && !local);
setVisibility('unpresentbutton', local);
setVisibility('mutebutton', permissions.present);
// allow multiple shared documents
setVisibility('sharebutton', permissions.present &&
('getDisplayMedia' in navigator.mediaDevices));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment