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