don't want to continue the unknown match
Ted Unangst tedu@tedunangst.com
Tue, 19 Dec 2023 13:30:20 -0500
1 files changed,
6 insertions(+),
3 deletions(-)
jump to
M
hfcs.go
→
hfcs.go
@@ -266,9 +266,12 @@ if f.IsAnnounce {
continue } if f.Actor == origin { - if f.OnlyUnknowns && unknownActor(userid, actor) { - ilog.Printf("rejecting unknown actor: %s", actor) - return true + if f.OnlyUnknowns { + if unknownActor(userid, actor) { + ilog.Printf("rejecting unknown actor: %s", actor) + return true + } + continue } ilog.Printf("rejecting actor: %s", actor) return true