mirror of
https://github.com/Lidarr/Lidarr
synced 2025-12-16 05:15:13 +01:00
Don't store grabbed events for clients that don't download IDs
Fixes #1420
This commit is contained in:
parent
39bbb67f0a
commit
a41e8deb03
1 changed files with 6 additions and 0 deletions
|
|
@ -101,6 +101,12 @@ public DownloadHistory GetLatestGrab(string downloadId)
|
|||
|
||||
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…
Reference in a new issue