Pārlūkot izejas kodu

fixes #263 - User profile images lost

Luke Pulverenti 12 gadi atpakaļ
vecāks
revīzija
b85ea26b7a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      MediaBrowser.Api/Images/ImageService.cs

+ 1 - 1
MediaBrowser.Api/Images/ImageService.cs

@@ -754,7 +754,7 @@ namespace MediaBrowser.Api.Images
                 }
 
                 // Don't save locally if there's no parent (special feature, trailer, etc)
-                var saveLocally = !(entity is Audio) && entity.Parent != null && !string.IsNullOrEmpty(entity.MetaLocation);
+                var saveLocally = (!(entity is Audio) && entity.Parent != null && !string.IsNullOrEmpty(entity.MetaLocation)) || entity is User;
 
                 if (imageType != ImageType.Primary)
                 {