Fixes broken room locking functionality.

This commit is contained in:
paweldomas 2014-12-08 11:44:05 +01:00
parent 3f15d5495d
commit 28e41f6c7b
1 changed files with 1 additions and 1 deletions

View File

@ -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" +