only replace memes in our posts

master
Ted Unangst 5 years ago
parent d62486db27
commit 1b945c5cac

@ -45,10 +45,10 @@ func reverbolate(userid int64, honks []*Honk) {
h.Style += " limited"
}
translate(h)
h.Noise = re_memes.ReplaceAllString(h.Noise, "")
if h.Whofore == 2 || h.Whofore == 3 {
h.URL = h.XID
if h.What != "bonked" {
h.Noise = re_memes.ReplaceAllString(h.Noise, "")
h.Noise = mentionize(h.Noise)
h.Noise = ontologize(h.Noise)
}

Loading…
Cancel
Save