fix: fixed the automated feed showing it is manual

This commit is contained in:
moonleay 2023-10-29 11:30:29 +01:00
parent 8a2a9564b8
commit 2f72720ed2

View file

@ -94,10 +94,10 @@ object FeedUpdater : ICronjob {
if (rssData.description == null) "No description" else Remark(EmbedUtil.getHTMLtoMarkdownOptions()).convertFragment( if (rssData.description == null) "No description" else Remark(EmbedUtil.getHTMLtoMarkdownOptions()).convertFragment(
rssData.description!! rssData.description!!
), ),
rssData.link ?: "https://moonleay.net/", rssData.link ?: "https://moonleay.net/404",
rssData.image ?: "", rssData.image ?: "",
if (rssData.link != null) EmbedUtil.getSiteLogo(rssData.link!!) else "https://static.moonleay.net/img/rssbot/no-image.png", if (rssData.link != null) EmbedUtil.getSiteLogo(rssData.link!!) else "https://static.moonleay.net/img/rssbot/no-image.png",
"Manual Feed", data.feedName,
rssData.pubDate ?: "unknown" rssData.pubDate ?: "unknown"
) )
) )