Don't try to render unavailable tweets in RSS feeds
Some checks failed
Docker / tests (push) Has been cancelled
Docker / build-docker-amd64 (push) Has been cancelled
Docker / build-docker-arm64 (push) Has been cancelled

Fixes #868.

Conflicts:
  src/views/rss.nimf
This commit is contained in:
Faye Duxovni
2023-06-16 17:19:24 -04:00
committed by Kuu7o
parent c3e818f5bd
commit 95236b4f15

View File

@@ -84,6 +84,8 @@ Twitter feed for: ${desc}. Generated by ${cfg.hostname}
# #
# let retweet = if tweet.retweet.isSome: tweet.user.username else: "" # let retweet = if tweet.retweet.isSome: tweet.user.username else: ""
# let tweet = if retweet.len > 0: tweet.retweet.get else: tweet # let tweet = if retweet.len > 0: tweet.retweet.get else: tweet
# if not tweet.available: continue
# end if
# let link = getLink(tweet) # let link = getLink(tweet)
# if link in links: continue # if link in links: continue
# end if # end if