feat:源文件删除时删除下载任务 fix #1391

This commit is contained in:
jxxghp
2024-02-19 16:07:46 +08:00
parent e06d07937e
commit d8f9ab93e5
2 changed files with 16 additions and 1 deletions

View File

@ -96,7 +96,8 @@ def delete_transfer_history(history_in: schemas.TransferHistory,
eventmanager.send_event(
EventType.DownloadFileDeleted,
{
"src": history.src
"src": history.src,
"hash": history.download_hash
}
)
# 删除记录