lint compliance

pull/1/head
yflory 5 years ago
parent 0390d3df75
commit f7b61daff3

@ -296,7 +296,6 @@ define([
}
}
// If it's a team with edit right, add the pad directly
var team = teams[ed];
if (!team) { return; }
sframeChan.query('Q_STORE_IN_TEAM', {
href: href,

@ -1585,10 +1585,10 @@ define([
// XXX maybe use something else than channel?
var hash = Nacl.hash(Nacl.util.decodeUTF8(channel));
var seed = hash.slice(0,32);
var channel = Util.uint8ArrayToHex(hash.slice(32,48));
var mailboxChannel = Util.uint8ArrayToHex(hash.slice(32,48));
var curvePair = Nacl.box.keyPair.fromSecretKey(seed);
return {
channel: channel,
channel: mailboxChannel,
viewed: [],
keys: {
curvePrivate: Nacl.util.encodeBase64(curvePair.secretKey),

Loading…
Cancel
Save