diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/playlist.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/lib/activitypub/playlist.ts b/server/lib/activitypub/playlist.ts index 36a91faec..f569d881c 100644 --- a/server/lib/activitypub/playlist.ts +++ b/server/lib/activitypub/playlist.ts | |||
@@ -105,6 +105,9 @@ async function createOrUpdateVideoPlaylist (playlistObject: PlaylistObject, byAc | |||
105 | } catch (err) { | 105 | } catch (err) { |
106 | logger.warn('Cannot generate thumbnail of %s.', playlistObject.id, { err }) | 106 | logger.warn('Cannot generate thumbnail of %s.', playlistObject.id, { err }) |
107 | } | 107 | } |
108 | } else if (refreshedPlaylist.hasThumbnail()) { | ||
109 | await refreshedPlaylist.Thumbnail.destroy() | ||
110 | refreshedPlaylist.Thumbnail = null | ||
108 | } | 111 | } |
109 | 112 | ||
110 | return resetVideoPlaylistElements(accItems, refreshedPlaylist) | 113 | return resetVideoPlaylistElements(accItems, refreshedPlaylist) |