fast track blocks by objid
Ted Unangst tedu@tedunangst.com
Tue, 06 Aug 2019 16:31:54 -0400
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
fun.go
→
fun.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