Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/node/handler/ImportHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async function doImport(req, res, padId)
let destFile = path.join(tmpDirectory, "etherpad_import_" + randNum + "." + exportExtension);

// Logic for allowing external Import Plugins
let result = await hooks.aCallAll("import", { srcFile, destFile });
let result = await hooks.aCallAll("import", { srcFile, destFile, fileEnding });
let importHandledByPlugin = (result.length > 0); // This feels hacky and wrong..

let fileIsEtherpad = (fileEnding === ".etherpad");
Expand Down