Remove old federation compatibility

pull/4468/head
Chocobozzz 2021-10-15 09:44:21 +02:00
parent b3fc41a165
commit bacb544dbb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 3 deletions

View File

@ -120,9 +120,6 @@ function getStreamingPlaylistAttributesFromObject (video: MVideoId, videoObject:
let files: unknown[] = playlistUrlObject.tag.filter(u => isAPVideoUrlObject(u)) as ActivityVideoUrlObject[]
// FIXME: backward compatibility introduced in v2.1.0
if (files.length === 0) files = videoFiles
if (!segmentsSha256UrlObject) {
logger.warn('No segment sha256 URL found in AP playlist object.', { playlistUrl: playlistUrlObject })
continue