1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Remove deprecated server code

This commit is contained in:
Chocobozzz 2024-11-04 10:16:31 +01:00
parent 11fd3a4618
commit 3842a527f6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
39 changed files with 40 additions and 173 deletions

View file

@ -66,7 +66,7 @@ function cacheFileActivityObjectToDBAttributes (cacheFileObject: CacheFileObject
}
const url = cacheFileObject.url
const urlFPS = exists(url.fps) // TODO: compat with < 6.1, remove in 7.0
const urlFPS = exists(url.fps) // TODO: compat with < 6.1, remove in 8.0
? url.fps
: url['_:fps']

View file

@ -57,7 +57,7 @@ function getViewerResultCounter (activity: ActivityView) {
return counter
}
// TODO: compat with < 6.1, remove in 7.0
// TODO: compat with < 6.1, remove in 8.0
function getExpires (activity: ActivityView) {
return activity.expires || activity['expiration'] as string
}