Add "R:" label to RSS replies

Fixes #139
This commit is contained in:
Zed 2020-03-29 08:06:20 +02:00
parent 9f9fccb70b
commit a7ffb6d2f2
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#proc getTitle(tweet: Tweet; prefs: Prefs; hostname: string): string =
#if tweet.pinned: result = "Pinned: "
#elif tweet.retweet.isSome: result = "RT: "
#elif tweet.reply.len > 0: result = "R: "
#end if
#result &= xmltree.escape(stripHtml(tweet.text))
#if result.len > 0: return