Merge pull request #14657 from glassez/file-prio

Save "resume data" once file priority is changed
This commit is contained in:
Vladimir Golovnev 2021-04-01 06:32:17 +03:00 committed by GitHub
commit 825bf8d61e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 0 deletions

View file

@ -4264,6 +4264,9 @@ void Session::handleAlert(const lt::alert *a)
{
switch (a->type())
{
#if (LIBTORRENT_VERSION_NUM >= 20003)
case lt::file_prio_alert::alert_type:
#endif
case lt::file_renamed_alert::alert_type:
case lt::file_completed_alert::alert_type:
case lt::torrent_finished_alert::alert_type: