|
|
@ -571,6 +571,10 @@ func thoudostbitethythumb(userid int64, who []string, objid string) bool {
|
|
|
|
thumblock.Lock()
|
|
|
|
thumblock.Lock()
|
|
|
|
biters := thumbbiters[userid]
|
|
|
|
biters := thumbbiters[userid]
|
|
|
|
thumblock.Unlock()
|
|
|
|
thumblock.Unlock()
|
|
|
|
|
|
|
|
objwhere := originate(objid)
|
|
|
|
|
|
|
|
if objwhere != "" && biters[objwhere] {
|
|
|
|
|
|
|
|
return true
|
|
|
|
|
|
|
|
}
|
|
|
|
for _, w := range who {
|
|
|
|
for _, w := range who {
|
|
|
|
if biters[w] {
|
|
|
|
if biters[w] {
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|