summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2025-02-27 17:47:06 +0100
committerGravatar default2025-02-27 17:47:06 +0100
commit7cc984c8d49ea5ae6e1902d91fafed9880384f2a (patch)
tree32c10ac27771a48895fc176445fa7a0ede824e2f /activitypub.c
parentMore hashtag block tweaks. (diff)
downloadsnac2-7cc984c8d49ea5ae6e1902d91fafed9880384f2a.tar.gz
snac2-7cc984c8d49ea5ae6e1902d91fafed9880384f2a.tar.xz
snac2-7cc984c8d49ea5ae6e1902d91fafed9880384f2a.zip
More hashtag block tweaks.
Diffstat (limited to 'activitypub.c')
-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)
2352 /* bring the actor */ 2352 /* bring the actor */
2353 xs *who_o = NULL; 2353 xs *who_o = NULL;
2354 2354
2355 if (blocked_hashtag_check(snac, a_msg))
2356 snac_debug(snac, 1, xs_fmt("blocked by hashtag %s", object));
2357 else
2355 if (valid_status(actor_request(snac, who, &who_o))) { 2358 if (valid_status(actor_request(snac, who, &who_o))) {
2356 /* don't account as such announces by our own relay */ 2359 /* don't account as such announces by our own relay */
2357 xs *this_relay = xs_fmt("%s/relay", srv_baseurl); 2360 xs *this_relay = xs_fmt("%s/relay", srv_baseurl);