From 377dc597ca949dd2793849cf3afe885c2e723028 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Wed, 9 Jul 2025 14:57:22 -0700 Subject: [PATCH] WebAPI: Always reannounce torrent This removes the check, for consistency with the rest of the codebase. Libtorrent performs its own torrent status check. --- src/webui/api/torrentscontroller.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/webui/api/torrentscontroller.cpp b/src/webui/api/torrentscontroller.cpp index 26e65e828..bb3e98a31 100644 --- a/src/webui/api/torrentscontroller.cpp +++ b/src/webui/api/torrentscontroller.cpp @@ -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()); }