Skip to content

Commit ce12e21

Browse files
committed
Use defaultPrefs when rendering thread RSS feeds
1 parent 85240c5 commit ce12e21

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/rss.nimf

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ ${renderRssTweets(tweets, cfg)}
144144
#end proc
145145
#
146146
#proc renderThreadRss*(tweets: seq[Tweet]; username, tweetId: string; cfg: Config): string =
147-
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: cfg.replaceYouTube)
148147
#let urlPrefix = getUrlPrefix(cfg)
149148
#result = ""
150149
<?xml version="1.0" encoding="UTF-8"?>
@@ -156,7 +155,7 @@ ${renderRssTweets(tweets, cfg)}
156155
<description>${getDescription("Thread for " & urlPrefix & "/" & username & "/status/" & tweetId, cfg)}</description>
157156
<language>en-us</language>
158157
<ttl>40</ttl>
159-
${renderRssTweets(tweets, prefs, cfg)}
158+
${renderRssTweets(tweets, defaultPrefs, cfg)}
160159
</channel>
161160
</rss>
162161
#end proc

0 commit comments

Comments
 (0)