[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
This commit is contained in:
Chase Sterling 2022-02-09 16:04:10 -05:00 committed by Calum Lind
parent af26fdfb37
commit a1da2058bc
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 1 additions and 0 deletions

View File

@ -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})