all repos — honk @ 24c6c69cc193b67c081cee9355450e8525bf922d

my fork of honk

need to check a few more keys for all the filters
Ted Unangst tedu@tedunangst.com
Wed, 01 Jan 2020 22:33:04 -0500
commit

24c6c69cc193b67c081cee9355450e8525bf922d

parent

b30b460a2ecab7a77a7ce3a41ca92e36dadb5dee

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M hfcs.gohfcs.go

@@ -330,9 +330,12 @@ var m arejectmap

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 != "" {