From 07978649f151fe2a9daa85441400215edf7d50fc Mon Sep 17 00:00:00 2001 From: r Date: Sun, 30 May 2021 06:59:34 +0000 Subject: Fix retweet button for private/direct post --- templates/status.tmpl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/templates/status.tmpl b/templates/status.tmpl index 775631a..9109f4e 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -193,24 +193,19 @@
- {{if or (eq .Visibility "private") (eq .Visibility "direct")}} - - retweet - - {{else}} {{$rt := "retweet"}} {{if .Reblogged}} {{$rt = "unretweet"}} {{end}}
- + {{if and (not $.Ctx.AntiDopamineMode) .ReblogsCount}} ({{DisplayInteractionCount .ReblogsCount}}) {{end}}
- {{end}}
{{$like := "like"}} {{if .Favourited}} {{$like = "unlike"}} {{end}} -- cgit v1.2.3