Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes broken room locking functionality.

paweldomas28e41f6c7b49
diff --git a/toolbar.js b/toolbar.js
index d6972a4796..d8eb7129a8 100644
--- a/toolbar.js
+++ b/toolbar.js
@@ -17,7 +17,7 @@ var Toolbar = (function (my) {
*/
my.openLockDialog = function () {
// Only the focus is able to set a shared key.
- if (Moderator.isModerator()) {
+ if (!Moderator.isModerator()) {
if (sharedKey) {
messageHandler.openMessageDialog(null,
"This conversation is currently protected by" +