From c29b7d33893c37340fb02cb4d1d7baa312a326e5 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 6 Apr 2020 15:52:13 +0200 Subject: [PATCH] Fix reference error --- www/common/inner/common-mediatag.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/inner/common-mediatag.js b/www/common/inner/common-mediatag.js index 217eb3ed1..0d6f768af 100644 --- a/www/common/inner/common-mediatag.js +++ b/www/common/inner/common-mediatag.js @@ -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;