another faster check for blocked stuff
This commit is contained in:
parent
2cb07e026a
commit
6eb416eea3
|
@ -209,6 +209,10 @@ func needxonkid(user *WhatAbout, xid string) bool {
|
||||||
if strings.HasPrefix(xid, user.URL+"/") {
|
if strings.HasPrefix(xid, user.URL+"/") {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
if thoudostbitethythumb(user.ID, nil, xid) {
|
||||||
|
log.Printf("don't need thumb biter? %s", xid)
|
||||||
|
return false
|
||||||
|
}
|
||||||
if iszonked(user.ID, xid) {
|
if iszonked(user.ID, xid) {
|
||||||
log.Printf("already zonked: %s", xid)
|
log.Printf("already zonked: %s", xid)
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue