From 43441d82912beb3df95641f00cda70bc2e733359 Mon Sep 17 00:00:00 2001 From: Vladimir Golovnev Date: Fri, 14 Jan 2022 15:18:18 +0300 Subject: [PATCH] Handle missing torrent alerts PR #16085. --- src/base/bittorrent/session.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/bittorrent/session.cpp b/src/base/bittorrent/session.cpp index 89327f8ac..cd8264d0d 100644 --- a/src/base/bittorrent/session.cpp +++ b/src/base/bittorrent/session.cpp @@ -4489,6 +4489,7 @@ void Session::handleAlert(const lt::alert *a) case lt::file_prio_alert::alert_type: #endif case lt::file_renamed_alert::alert_type: + case lt::file_rename_failed_alert::alert_type: case lt::file_completed_alert::alert_type: case lt::torrent_finished_alert::alert_type: case lt::save_resume_data_alert::alert_type: @@ -4501,6 +4502,7 @@ void Session::handleAlert(const lt::alert *a) case lt::fastresume_rejected_alert::alert_type: case lt::torrent_checked_alert::alert_type: case lt::metadata_received_alert::alert_type: + case lt::performance_alert::alert_type: dispatchTorrentAlert(a); break; case lt::state_update_alert::alert_type: