From a967575f05f8bc48abc609a30515c340f689c87c Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 31 May 2022 16:49:41 -0400 Subject: [PATCH] ignore hidden self mention. --- fun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fun.go b/fun.go index bf4c677..a5bc89a 100644 --- a/fun.go +++ b/fun.go @@ -124,7 +124,7 @@ func reverbolate(userid int64, honks []*Honk) { h.Noise = demoji(h.Noise) h.Open = "open" for _, m := range h.Mentions { - if !m.IsPresent(h.Noise) { + if m.Where != h.Honker && !m.IsPresent(h.Noise) { h.Noise = "(" + m.Who + ")" + h.Noise } }