aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);