only replace memes in our posts
This commit is contained in:
parent
d62486db27
commit
1b945c5cac
2
fun.go
2
fun.go
|
@ -45,10 +45,10 @@ func reverbolate(userid int64, honks []*Honk) {
|
||||||
h.Style += " limited"
|
h.Style += " limited"
|
||||||
}
|
}
|
||||||
translate(h)
|
translate(h)
|
||||||
h.Noise = re_memes.ReplaceAllString(h.Noise, "")
|
|
||||||
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" {
|
if h.What != "bonked" {
|
||||||
|
h.Noise = re_memes.ReplaceAllString(h.Noise, "")
|
||||||
h.Noise = mentionize(h.Noise)
|
h.Noise = mentionize(h.Noise)
|
||||||
h.Noise = ontologize(h.Noise)
|
h.Noise = ontologize(h.Noise)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue