1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 17:59:37 +02:00

Prefer displaying channel in rss feeds

This commit is contained in:
Chocobozzz 2022-12-20 09:25:18 +01:00
parent 868314e8bf
commit ec3ce76f19
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 6 additions and 6 deletions

View file

@ -285,8 +285,8 @@ function addVideosToFeed (feed: Feed, videos: VideoModel[]) {
content: toSafeHtml(video.description),
author: [
{
name: video.VideoChannel.Account.getDisplayName(),
link: video.VideoChannel.Account.Actor.url
name: video.VideoChannel.getDisplayName(),
link: video.VideoChannel.Actor.url
}
],
date: video.publishedAt,