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

Fixes #1420
This commit is contained in:
Qstick 2022-06-04 15:00:05 -05:00
parent 39bbb67f0a
commit a41e8deb03

View file

@ -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,