From 67c2e72528f9fffe13640365c90f62821308df65 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 7 Apr 2022 15:03:37 -0400 Subject: [PATCH] don't waste time fetching private chains --- activity.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/activity.go b/activity.go index 8bbecf5..4ecfe73 100644 --- a/activity.go +++ b/activity.go @@ -669,6 +669,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { } xonk.Audience = append(xonk.Audience, xonk.Honker) xonk.Audience = oneofakind(xonk.Audience) + xonk.Public = loudandproud(xonk.Audience) var mentions []Mention if obj != nil { @@ -956,7 +957,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { } } if !isUpdate && needxonk(user, &xonk) { - if rid != "" { + if rid != "" && xonk.Public { if needxonkid(user, rid) { goingup++ saveonemore(rid)