Fixes broken room locking functionality.
This commit is contained in:
parent
3f15d5495d
commit
28e41f6c7b
|
@ -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" +
|
||||
|
|
Loading…
Reference in New Issue