From 4e052bcfde71c5eff8eccfe6421af12efe2bdcc9 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 29 Jul 2020 02:42:11 -0400 Subject: [PATCH] try the shared inbox for update deliveries --- activity.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/activity.go b/activity.go index 1acb6b8..4605288 100644 --- a/activity.go +++ b/activity.go @@ -1366,7 +1366,13 @@ func honkworldwide(user *WhatAbout, honk *Honk) { } } for _, f := range getbacktracks(honk.XID) { - rcpts[f] = true + var box *Box + ok := boxofboxes.Get(f, &box) + if ok && box.Shared != "" { + rcpts["%"+box.Shared] = true + } else { + rcpts[f] = true + } } } for a := range rcpts {