|
|
|
@ -82,7 +82,6 @@ define([
|
|
|
|
|
}
|
|
|
|
|
}), { network: network, onCacheReady: onCacheReady});
|
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
|
console.log(proxy);
|
|
|
|
|
var drive = proxy.drive || {};
|
|
|
|
|
if (!proxy.drive) {
|
|
|
|
|
addReport('ERROR: no drive');
|
|
|
|
@ -184,7 +183,6 @@ define([
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
addReport('Roster channel: ' + d.channel);
|
|
|
|
|
console.warn(rosterKeys);
|
|
|
|
|
checkCache(d.channel, function () {
|
|
|
|
|
var crypto = Crypto.Team.createEncryptor(rosterKeys);
|
|
|
|
|
var m = 0;
|
|
|
|
@ -233,7 +231,6 @@ define([
|
|
|
|
|
_obj.href = cryptor.decrypt(_obj.href);
|
|
|
|
|
}
|
|
|
|
|
var parsed = Hash.parsePadUrl(_obj.href || _obj.roHref);
|
|
|
|
|
console.log(parsed.hash, _obj);
|
|
|
|
|
Crypt.get(parsed.hash, function (err, val, errorObj) {
|
|
|
|
|
if (err) {
|
|
|
|
|
addReport('ERROR: ' + err);
|
|
|
|
|