Don't store grabbed events for clients that don't download IDs

Fixes #1420
pull/2833/head
Qstick 2 years ago
parent 39bbb67f0a
commit a41e8deb03

@ -101,6 +101,12 @@ namespace NzbDrone.Core.Download.History
public void Handle(AlbumGrabbedEvent message)
{
// Don't store grabbed events for clients that don't download IDs
if (message.DownloadId.IsNullOrWhiteSpace())
{
return;
}
var history = new DownloadHistory
{
EventType = DownloadHistoryEventType.DownloadGrabbed,

Loading…
Cancel
Save