From 169c7875a8b63122fc4ff28f1fd45b587f6516d5 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 1 Jan 2020 22:33:04 -0500 Subject: [PATCH] need to check a few more keys for all the filters --- hfcs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hfcs.go b/hfcs.go index 146a25f..d78ba6b 100644 --- a/hfcs.go +++ b/hfcs.go @@ -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 != "" {