fixed missing torrent check on content blocker (#9)
This commit is contained in:
@@ -77,6 +77,11 @@ public sealed class ContentBlocker : IDisposable
|
|||||||
{
|
{
|
||||||
foreach (QueueRecord record in items)
|
foreach (QueueRecord record in items)
|
||||||
{
|
{
|
||||||
|
if (record.Protocol is not "torrent")
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(record.DownloadId))
|
if (string.IsNullOrEmpty(record.DownloadId))
|
||||||
{
|
{
|
||||||
_logger.LogDebug("skip | download id is null for {title}", record.Title);
|
_logger.LogDebug("skip | download id is null for {title}", record.Title);
|
||||||
|
|||||||
Reference in New Issue
Block a user