all repos — honk @ 692a5f0b84f919e4e2a5105aabbc0f845b051ccc

my fork of honk

exlude self from reply mentions
Ted Unangst tedu@tedunangst.com
Wed, 05 Aug 2020 15:42:59 -0400
commit

692a5f0b84f919e4e2a5105aabbc0f845b051ccc

parent

394d8b47c1d37bafad44318b77777af3cc64693a

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M fun.gofun.go

@@ -86,7 +86,7 @@ }

if user.Options.MentionAll { hset := []string{"@" + h.Handle} for _, a := range h.Audience { - if a == h.Honker { + if a == h.Honker || a == user.URL { continue } _, hand := handles(a)

@@ -96,7 +96,7 @@ hset = append(hset, hand)

} } h.Handles = strings.Join(hset, " ") - } else { + } else if h.Honker != user.URL { h.Handles = "@" + h.Handle } if h.URL == "" {