mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-22 13:40:37 +02:00
fixes #263 - User profile images lost
This commit is contained in:
parent
f3c5b5b836
commit
b85ea26b7a
|
@ -754,7 +754,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't save locally if there's no parent (special feature, trailer, etc)
|
// 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)
|
if (imageType != ImageType.Primary)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue