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 () {
|
my.openLockDialog = function () {
|
||||||
// Only the focus is able to set a shared key.
|
// Only the focus is able to set a shared key.
|
||||||
if (Moderator.isModerator()) {
|
if (!Moderator.isModerator()) {
|
||||||
if (sharedKey) {
|
if (sharedKey) {
|
||||||
messageHandler.openMessageDialog(null,
|
messageHandler.openMessageDialog(null,
|
||||||
"This conversation is currently protected by" +
|
"This conversation is currently protected by" +
|
||||||
|
|
Loading…
Reference in New Issue