fast track blocks by objid
This commit is contained in:
parent
fd5d297188
commit
29334c3116
4
fun.go
4
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
|
||||
|
|
Loading…
Reference in New Issue