better effort to avoid duplicte deliveries
This commit is contained in:
parent
bb4dfede0a
commit
a84f5d8a50
|
@ -908,12 +908,8 @@ func honkworldwide(user *WhatAbout, honk *Honk) {
|
|||
for _, a := range honk.Audience {
|
||||
if a != thewholeworld && a != user.URL && !strings.HasSuffix(a, "/followers") {
|
||||
box, _ := getboxes(a)
|
||||
if box != nil {
|
||||
if honk.Public && box.Shared != "" {
|
||||
rcpts["%"+box.Shared] = true
|
||||
} else {
|
||||
rcpts["%"+box.In] = true
|
||||
}
|
||||
if box != nil && honk.Public && box.Shared != "" {
|
||||
rcpts["%"+box.Shared] = true
|
||||
} else {
|
||||
rcpts[a] = true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue