Hidden hash for files

This commit is contained in:
yflory
2020-01-27 15:45:57 +01:00
parent 7b9f86157e
commit 7a02b074b7
5 changed files with 67 additions and 36 deletions

View File

@@ -284,7 +284,8 @@ define([
if (!parsed.hashData.key && parsed.hashData.channel) {
Cryptpad.getPadDataFromChannel({
channel: parsed.hashData.channel,
edit: parsed.hashData.mode === 'edit'
edit: parsed.hashData.mode === 'edit',
file: parsed.hashData.type === 'file'
}, w(function (err, res) {
// Error while getting data? abort
if (err || !res || res.error) {