Don't apply Mark-of-the-Web on existing files
commitf4eec754881b9fb761e1e02ff68677785d48276f
authorChocobo1 <Chocobo1@users.noreply.github.com>
Sat, 16 Nov 2024 07:57:55 +0000 (16 15:57 +0800)
committerGitHub <noreply@github.com>
Sat, 16 Nov 2024 07:57:55 +0000 (16 15:57 +0800)
tree8d7a6fa18e132be32d98dd08203b6bb8b5e33483
parentf73f31619ddebafcc82dfd65b9be7eeb347d467a
Don't apply Mark-of-the-Web on existing files

`TorrentImpl::isDownloading()` was excessively broad which included unexpected events for the
case here. So use the underlying state directly.

Closes #21788.
PR #21836.
src/base/bittorrent/torrentimpl.cpp