Don't try to get files metadata

This commit is contained in:
yflory 2019-09-13 17:25:51 +02:00
parent 799d93eb48
commit 450c920b84
1 changed files with 1 additions and 0 deletions

View File

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