should not rementionize bonks

This commit is contained in:
Ted Unangst 2019-07-22 00:35:26 -04:00
parent a1648667ec
commit eb7b75f809
1 changed files with 3 additions and 1 deletions

2
fun.go
View File

@ -45,7 +45,9 @@ func reverbolate(userid int64, honks []*Honk) {
} }
if h.Whofore == 2 || h.Whofore == 3 { if h.Whofore == 2 || h.Whofore == 3 {
h.URL = h.XID h.URL = h.XID
if h.What != "bonked" {
h.Noise = mentionize(h.Noise) h.Noise = mentionize(h.Noise)
}
h.Username, h.Handle = honkerhandle(h.Honker) h.Username, h.Handle = honkerhandle(h.Honker)
} else { } else {
_, h.Handle = honkerhandle(h.Honker) _, h.Handle = honkerhandle(h.Honker)