need to check a few more keys for all the filters

master
Ted Unangst 4 years ago
parent 676d34ecd9
commit 169c7875a8

@ -330,9 +330,12 @@ func rejectxonk(xonk *Honk) bool {
rejectcache.Get(xonk.UserID, &m)
filts := m[rejectAnyKey]
filts = append(filts, m[xonk.Honker]...)
filts = append(filts, m[originate(xonk.Honker)]...)
filts = append(filts, m[xonk.Oonker]...)
filts = append(filts, m[originate(xonk.Oonker)]...)
for _, a := range xonk.Audience {
filts = append(filts, m[a]...)
filts = append(filts, m[originate(a)]...)
}
for _, f := range filts {
if cause := matchfilterX(xonk, f); cause != "" {

Loading…
Cancel
Save