add a little length filter
This commit is contained in:
parent
3cd2f57f9e
commit
4fdc81cbed
7
fun.go
7
fun.go
|
@ -85,6 +85,13 @@ func reverbolate(userid int64, honks []*Honk) {
|
|||
h.Precis = ""
|
||||
}
|
||||
}
|
||||
if len(h.Noise) > 4000 && h.Open == "open" {
|
||||
if h.Precis == "" {
|
||||
h.Precis = "really freaking long"
|
||||
}
|
||||
h.Open = ""
|
||||
}
|
||||
|
||||
h.HTPrecis, _ = filt.String(h.Precis)
|
||||
h.HTML, _ = filt.String(h.Noise)
|
||||
emuxifier := func(e string) string {
|
||||
|
|
Loading…
Reference in New Issue