|
|
@ -693,6 +693,7 @@ define([
|
|
|
|
var secret = Hash.getSecrets(parsed.type, parsed.hash, data.password);
|
|
|
|
var secret = Hash.getSecrets(parsed.type, parsed.hash, data.password);
|
|
|
|
if (!secret || !secret.channel) { return void cb ({error: 'EINVAL'}); }
|
|
|
|
if (!secret || !secret.channel) { return void cb ({error: 'EINVAL'}); }
|
|
|
|
Nthen(function (waitFor) {
|
|
|
|
Nthen(function (waitFor) {
|
|
|
|
|
|
|
|
if (parsed.hashData.type !== 'pad') { return; }
|
|
|
|
// Set the correct owner and expiration time if we can find them
|
|
|
|
// Set the correct owner and expiration time if we can find them
|
|
|
|
postMessage('GET_PAD_METADATA', {
|
|
|
|
postMessage('GET_PAD_METADATA', {
|
|
|
|
channel: secret.channel
|
|
|
|
channel: secret.channel
|
|
|
|