don't waste time fetching private chains

This commit is contained in:
Ted Unangst 2022-04-07 15:03:37 -04:00
parent 74e3e890c7
commit 67c2e72528
1 changed files with 2 additions and 1 deletions

View File

@ -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)