try the shared inbox for update deliveries

This commit is contained in:
Ted Unangst 2020-07-29 02:42:11 -04:00
parent 2c65dccc22
commit 4e052bcfde
1 changed files with 7 additions and 1 deletions

View File

@ -1366,9 +1366,15 @@ 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 {
rcpts[f] = true
}
}
}
for a := range rcpts {
go deliverate(0, user.ID, a, msg)
}