diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-20 09:25:18 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-20 09:28:01 +0100 |
commit | ec3ce76f195467bcc4f30b0844b63f5495162f8f (patch) | |
tree | 99e6b962f8ccffc00cd1b341bd00d6738c83d640 /server/controllers | |
parent | 868314e8bf6bcc325b0fea35887071ef0614a46d (diff) | |
download | PeerTube-ec3ce76f195467bcc4f30b0844b63f5495162f8f.tar.gz PeerTube-ec3ce76f195467bcc4f30b0844b63f5495162f8f.tar.zst PeerTube-ec3ce76f195467bcc4f30b0844b63f5495162f8f.zip |
Prefer displaying channel in rss feeds
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/feeds.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/feeds.ts b/server/controllers/feeds.ts index 772fe734d..ef810a842 100644 --- a/server/controllers/feeds.ts +++ b/server/controllers/feeds.ts | |||
@@ -285,8 +285,8 @@ function addVideosToFeed (feed: Feed, videos: VideoModel[]) { | |||
285 | content: toSafeHtml(video.description), | 285 | content: toSafeHtml(video.description), |
286 | author: [ | 286 | author: [ |
287 | { | 287 | { |
288 | name: video.VideoChannel.Account.getDisplayName(), | 288 | name: video.VideoChannel.getDisplayName(), |
289 | link: video.VideoChannel.Account.Actor.url | 289 | link: video.VideoChannel.Actor.url |
290 | } | 290 | } |
291 | ], | 291 | ], |
292 | date: video.publishedAt, | 292 | date: video.publishedAt, |