pull/1/head
yflory 7 years ago
parent 9184dd0ce6
commit bdd24ed14f

@ -39,8 +39,6 @@ define([
Listmap,
Messages)
{
var Messages = Cryptpad.Messages;
var APP = window.APP = {
editable: false,
Cryptpad: Cryptpad,

@ -393,8 +393,8 @@ define([
var onReady = function () {
APP.$container.find('#'+CREATE_ID).remove();
var obj = APP.lm && APP.lm.proxy;
/*if (!APP.readOnly) {
/*var obj = APP.lm && APP.lm.proxy;
if (!APP.readOnly) {
var pubKeys = Cryptpad.getPublicKeys();
if (pubKeys && pubKeys.curve) {
obj.curveKey = pubKeys.curve;

@ -595,8 +595,6 @@ define([
}
};
config.onError = onConnectError;
cpNfInner = common.startRealtime(config);
metadataMgr = cpNfInner.metadataMgr;

Loading…
Cancel
Save