Bläddra i källkod

Fixes broken room locking functionality.

j8
paweldomas 11 år sedan
förälder
incheckning
28e41f6c7b
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      toolbar.js

+ 1
- 1
toolbar.js Visa fil

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

Laddar…
Avbryt
Spara