From e01a9caf4d046f11ad5c5692fb9bacfa0170c5b7 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 4 Feb 2022 12:45:44 -0500 Subject: [PATCH] should only try to get boxes where not already guessed --- activity.go | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/activity.go b/activity.go index ddcd491..e20db98 100644 --- a/activity.go +++ b/activity.go @@ -1372,12 +1372,16 @@ func honkworldwide(user *WhatAbout, honk *Honk) { } } for _, f := range getbacktracks(honk.XID) { - var box *Box - ok := boxofboxes.Get(f, &box) - if ok && box.Shared != "" { - rcpts["%"+box.Shared] = true - } else { + if f[0] == '%' { rcpts[f] = true + } else { + var box *Box + ok := boxofboxes.Get(f, &box) + if ok && box.Shared != "" { + rcpts["%"+box.Shared] = true + } else { + rcpts[f] = true + } } } }