all repos — honk @ 93d725e1e4f61d44cd42f071c1957c1d3fa7ed68

my fork of honk

fast track blocks by objid
Ted Unangst tedu@tedunangst.com
Tue, 06 Aug 2019 16:31:54 -0400
commit

93d725e1e4f61d44cd42f071c1957c1d3fa7ed68

parent

d685a75bbf82f5e12a276eea594ae7944b418770

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M fun.gofun.go

@@ -571,6 +571,10 @@ func thoudostbitethythumb(userid int64, who []string, objid string) bool {

thumblock.Lock() biters := thumbbiters[userid] thumblock.Unlock() + objwhere := originate(objid) + if objwhere != "" && biters[objwhere] { + return true + } for _, w := range who { if biters[w] { return true