mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01:00
Actually fix profile images
This commit is contained in:
@@ -671,7 +671,7 @@ namespace Jellyfin.Server.Implementations.Users
|
||||
public void ClearProfileImage(User user)
|
||||
{
|
||||
var dbContext = _dbProvider.CreateContext();
|
||||
dbContext.ImageInfos.Remove(user.ProfileImage);
|
||||
dbContext.Remove(user.ProfileImage);
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user