should only try to get boxes where not already guessed
This commit is contained in:
parent
0fb7095475
commit
e01a9caf4d
14
activity.go
14
activity.go
|
@ -1372,12 +1372,16 @@ func honkworldwide(user *WhatAbout, honk *Honk) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, f := range getbacktracks(honk.XID) {
|
for _, f := range getbacktracks(honk.XID) {
|
||||||
var box *Box
|
if f[0] == '%' {
|
||||||
ok := boxofboxes.Get(f, &box)
|
|
||||||
if ok && box.Shared != "" {
|
|
||||||
rcpts["%"+box.Shared] = true
|
|
||||||
} else {
|
|
||||||
rcpts[f] = true
|
rcpts[f] = true
|
||||||
|
} else {
|
||||||
|
var box *Box
|
||||||
|
ok := boxofboxes.Get(f, &box)
|
||||||
|
if ok && box.Shared != "" {
|
||||||
|
rcpts["%"+box.Shared] = true
|
||||||
|
} else {
|
||||||
|
rcpts[f] = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue