From b2107583ba5083165a02b92cfd821f086e0d7c8e Mon Sep 17 00:00:00 2001 From: fade Date: Mon, 22 Aug 2022 14:05:40 -0400 Subject: [PATCH] not boost replies --- bot.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.go b/bot.go index b3faa72..2057e23 100644 --- a/bot.go +++ b/bot.go @@ -57,7 +57,9 @@ func run_bot(Conf Config) { for i := 0; i < len(followers); i++ { // Follow check if notif.Status.Account.Acct == string(followers[i].Acct) { if notif.Status.Visibility == "public" { // Reblog toot - c.Reblog(ctx, notif.Status.ID) + if notif.Status.InReplyToID == nil { + c.Reblog(ctx, notif.Status.ID) + } } else if notif.Status.Visibility == "direct" { // Admin commands for y := 0; y < len(Conf.Admins); y++ { if notif.Status.Account.Acct == Conf.Admins[y] {