diff --git a/hfcs.go b/hfcs.go index 40bd30e..06f831e 100644 --- a/hfcs.go +++ b/hfcs.go @@ -143,6 +143,9 @@ func rejectorigin(userid int64, origin string) bool { } filts := getfilters(userid, filtReject) for _, f := range filts { + if f.IsAnnounce || f.Text != "" { + continue + } if f.Actor == origin { log.Printf("rejecting origin: %s", origin) return true @@ -155,6 +158,9 @@ func rejectactor(userid int64, actor string) bool { origin := originate(actor) filts := getfilters(userid, filtReject) for _, f := range filts { + if f.IsAnnounce || f.Text != "" { + continue + } if f.Actor == actor || (origin != "" && f.Actor == origin) { log.Printf("rejecting actor: %s", actor) return true