Fix reference error

pull/1/head
yflory 2020-04-06 15:52:13 +02:00
parent 20111e8416
commit c29b7d3389
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ define([
// No password for avatars
var privateData = common.getMetadataMgr().getPrivateData();
var origin = privateData.fileHost || privateData.origin;
var parsed = Hash.parsePadUrl(href);
var secret = Hash.getSecrets('file', parsed.hash);
if (secret.keys && secret.channel) {
var hexFileName = secret.channel;