From 87d0cabb6739437ee581bebcf892b31cef6ae212 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 13 Dec 2019 20:23:53 -0500 Subject: [PATCH] repair some logic differentiating local posts and bonks --- fun.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fun.go b/fun.go index a87ec93..003d726 100644 --- a/fun.go +++ b/fun.go @@ -63,10 +63,10 @@ func reverbolate(userid int64, honks []*Honk) { } translate(h) local := false - if (h.Whofore == 2 || h.Whofore == 3) && h.What != "bonked" { + if h.Whofore == 2 || h.Whofore == 3 { local = true } - if local { + if local && h.What != "bonked" { h.Noise = re_memes.ReplaceAllString(h.Noise, "") h.Noise = mentionize(h.Noise) h.Noise = ontologize(h.Noise) @@ -131,7 +131,7 @@ func reverbolate(userid int64, honks []*Honk) { } } } - if local { + if local && h.What != "bonked" { var emu Emu emucache.Get(e, &emu) if emu.ID != "" {