ignore hidden self mention.

This commit is contained in:
Ted Unangst 2022-05-31 16:49:41 -04:00
parent afec6707a5
commit a967575f05
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

@ -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
}
}