aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-27 17:47:06 +0100
committerdefault <nobody@localhost>2025-02-27 17:47:06 +0100
commit7cc984c8d49ea5ae6e1902d91fafed9880384f2a (patch)
tree32c10ac27771a48895fc176445fa7a0ede824e2f
parent995ea87a8f60f160c4846e4fbfce4e9ae60273de (diff)
More hashtag block tweaks.
-rw-r--r--activitypub.c3
1 files changed, 3 insertions, 0 deletions
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);