handle reports for files that have been already been deleted

This commit is contained in:
Danny Coates 2020-07-30 10:19:14 -07:00
parent 06daba9ce0
commit d023a53b74
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
2 changed files with 7 additions and 4 deletions

View file

@ -90,6 +90,10 @@ module.exports = function(state, emit) {
}
}
if (state.fileInfo.dead) {
return notFound(state);
}
if (!state.transfer && !state.fileInfo.requiresPassword) {
emit('getMetadata');
}