all repos — honk @ 0c033b032020a77cd71249657deac10b5de96c27

my fork of honk

simplify update save code
Ted Unangst tedu@tedunangst.com
Wed, 27 Nov 2019 14:44:16 -0500
commit

0c033b032020a77cd71249657deac10b5de96c27

parent

caa15d152605dadcb21036f5d2251b69124ee7cc

1 files changed, 2 insertions(+), 9 deletions(-)

jump to
M activity.goactivity.go

@@ -869,15 +869,8 @@ if prev == nil {

log.Printf("didn't find old version for update: %s", xonk.XID) isUpdate = false } else { - prev.Noise = xonk.Noise - prev.Precis = xonk.Precis - prev.Date = xonk.Date - prev.Donks = xonk.Donks - prev.Onts = xonk.Onts - prev.Place = xonk.Place - prev.Whofore = xonk.Whofore - prev.Mentions = xonk.Mentions - updatehonk(prev) + xonk.ID = prev.ID + updatehonk(&xonk) } } if !isUpdate && needxonk(user, &xonk) {