mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
WebAPI: Always reannounce torrent
This removes the check, for consistency with the rest of the codebase. Libtorrent performs its own torrent status check.
This commit is contained in:
parent
bd4390b052
commit
377dc597ca
1 changed files with 1 additions and 3 deletions
|
@ -1171,9 +1171,7 @@ void TorrentsController::editTrackerAction()
|
|||
throw APIError(APIErrorType::Conflict, u"Tracker not found"_s);
|
||||
|
||||
torrent->replaceTrackers(entries);
|
||||
|
||||
if (!torrent->isStopped())
|
||||
torrent->forceReannounce();
|
||||
torrent->forceReannounce();
|
||||
|
||||
setResult(QString());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue