summaryrefslogtreecommitdiffstats
path: root/deluge
diff options
context:
space:
mode:
authorChase Sterling <chase.sterling@gmail.com>2022-02-09 16:04:10 -0500
committerCalum Lind <calumlind+deluge@gmail.com>2022-02-13 11:25:45 +0000
commita1da2058bc830ff318c6cce6d453178c478bb20c (patch)
tree27480721716d91ad9845407179ff65497bd32430 /deluge
parentaf26fdfb376b5da564c4ebfdecb4c0141c24fbbf (diff)
downloaddeluge-a1da2058bc830ff318c6cce6d453178c478bb20c.tar.gz
deluge-a1da2058bc830ff318c6cce6d453178c478bb20c.tar.bz2
deluge-a1da2058bc830ff318c6cce6d453178c478bb20c.zip
[Core] Enable file_completed_alert handling.
Without adding file_progress to the alert mask, the TorrentFileCompletedEvent would never fire. Closes: https://dev.deluge-torrent.org/ticket/3421 Closes: https://github.com/deluge-torrent/deluge/pull/370 Ref: https://libtorrent.org/upgrade_to_1.2-ref.html
Diffstat (limited to 'deluge')
-rw-r--r--deluge/core/alertmanager.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/deluge/core/alertmanager.py b/deluge/core/alertmanager.py
index 381380a71..9a1ded52e 100644
--- a/deluge/core/alertmanager.py
+++ b/deluge/core/alertmanager.py
@@ -46,6 +46,7 @@ class AlertManager(component.Component):
| lt.alert.category_t.status_notification
| lt.alert.category_t.ip_block_notification
| lt.alert.category_t.performance_warning
+ | lt.alert.category_t.file_progress_notification
)
self.session.apply_settings({'alert_mask': alert_mask})