support old hashes in /poll

pull/1/head
ansuz 8 years ago
parent 4902aebe77
commit 0373556475

@ -22,6 +22,9 @@ define([
var secret = Cryptpad.getSecrets(); var secret = Cryptpad.getSecrets();
var readOnly = secret.keys && !secret.keys.editKeyStr; var readOnly = secret.keys && !secret.keys.editKeyStr;
if (!secret.keys) {
secret.keys = secret.key;
}
Cryptpad.addLoadingScreen(); Cryptpad.addLoadingScreen();
var onConnectError = function (info) { var onConnectError = function (info) {

Loading…
Cancel
Save