ignore hidden self mention.
This commit is contained in:
parent
afec6707a5
commit
a967575f05
2
fun.go
2
fun.go
|
@ -124,7 +124,7 @@ func reverbolate(userid int64, honks []*Honk) {
|
||||||
h.Noise = demoji(h.Noise)
|
h.Noise = demoji(h.Noise)
|
||||||
h.Open = "open"
|
h.Open = "open"
|
||||||
for _, m := range h.Mentions {
|
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
|
h.Noise = "(" + m.Who + ")" + h.Noise
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue