From 7cc984c8d49ea5ae6e1902d91fafed9880384f2a Mon Sep 17 00:00:00 2001 From: default Date: Thu, 27 Feb 2025 17:47:06 +0100 Subject: More hashtag block tweaks. --- activitypub.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 5d79593..960a2a1 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2352,6 +2352,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) /* bring the actor */ xs *who_o = NULL; + if (blocked_hashtag_check(snac, a_msg)) + snac_debug(snac, 1, xs_fmt("blocked by hashtag %s", object)); + else if (valid_status(actor_request(snac, who, &who_o))) { /* don't account as such announces by our own relay */ xs *this_relay = xs_fmt("%s/relay", srv_baseurl); -- cgit v1.2.3