need to check a few more keys for all the filters
This commit is contained in:
parent
676d34ecd9
commit
169c7875a8
3
hfcs.go
3
hfcs.go
|
@ -330,9 +330,12 @@ func rejectxonk(xonk *Honk) bool {
|
||||||
rejectcache.Get(xonk.UserID, &m)
|
rejectcache.Get(xonk.UserID, &m)
|
||||||
filts := m[rejectAnyKey]
|
filts := m[rejectAnyKey]
|
||||||
filts = append(filts, m[xonk.Honker]...)
|
filts = append(filts, m[xonk.Honker]...)
|
||||||
|
filts = append(filts, m[originate(xonk.Honker)]...)
|
||||||
filts = append(filts, m[xonk.Oonker]...)
|
filts = append(filts, m[xonk.Oonker]...)
|
||||||
|
filts = append(filts, m[originate(xonk.Oonker)]...)
|
||||||
for _, a := range xonk.Audience {
|
for _, a := range xonk.Audience {
|
||||||
filts = append(filts, m[a]...)
|
filts = append(filts, m[a]...)
|
||||||
|
filts = append(filts, m[originate(a)]...)
|
||||||
}
|
}
|
||||||
for _, f := range filts {
|
for _, f := range filts {
|
||||||
if cause := matchfilterX(xonk, f); cause != "" {
|
if cause := matchfilterX(xonk, f); cause != "" {
|
||||||
|
|
Loading…
Reference in New Issue