From 6eb416eea34c91983c9fe62d97661798eace93fb Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 6 Sep 2019 14:44:29 -0400 Subject: [PATCH] another faster check for blocked stuff --- activity.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activity.go b/activity.go index 36dae53..93919d8 100644 --- a/activity.go +++ b/activity.go @@ -209,6 +209,10 @@ func needxonkid(user *WhatAbout, xid string) bool { if strings.HasPrefix(xid, user.URL+"/") { return false } + if thoudostbitethythumb(user.ID, nil, xid) { + log.Printf("don't need thumb biter? %s", xid) + return false + } if iszonked(user.ID, xid) { log.Printf("already zonked: %s", xid) return false