Browse Source

Fixes broken room locking functionality.

master
paweldomas 11 years ago
parent
commit
28e41f6c7b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      toolbar.js

+ 1
- 1
toolbar.js View File

@@ -17,7 +17,7 @@ var Toolbar = (function (my) {
17 17
      */
18 18
     my.openLockDialog = function () {
19 19
         // Only the focus is able to set a shared key.
20
-        if (Moderator.isModerator()) {
20
+        if (!Moderator.isModerator()) {
21 21
             if (sharedKey) {
22 22
                 messageHandler.openMessageDialog(null,
23 23
                         "This conversation is currently protected by" +

Loading…
Cancel
Save