mirror of
https://github.com/timvisee/send.git
synced 2025-10-04 01:59:16 +02:00
handle reports for files that have been already been deleted
This commit is contained in:
parent
06daba9ce0
commit
d023a53b74
2 changed files with 7 additions and 4 deletions
|
@ -90,6 +90,10 @@ module.exports = function(state, emit) {
|
|||
}
|
||||
}
|
||||
|
||||
if (state.fileInfo.dead) {
|
||||
return notFound(state);
|
||||
}
|
||||
|
||||
if (!state.transfer && !state.fileInfo.requiresPassword) {
|
||||
emit('getMetadata');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue