fix: 历史记录删除源文件后,不在订阅的文件列表中显示

This commit is contained in:
jxxghp
2026-01-26 21:47:26 +08:00
parent d8dc53805c
commit 3115ed28b2
2 changed files with 5 additions and 2 deletions

View File

@@ -1668,7 +1668,7 @@ class SubscribeChain(ChainBase):
if download_his:
for his in download_his:
# 查询下载文件
files = downloadhis.get_files_by_hash(his.download_hash)
files = downloadhis.get_files_by_hash(his.download_hash, state=1)
if files:
for file in files:
# 识别文件名