commit 7cc984c
default
·
2025-02-27 16:47:06 +0000 UTC
parent 995ea87
More hashtag block tweaks.
1 files changed,
+3,
-0
+3,
-0
1@@ -2352,6 +2352,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
2 /* bring the actor */
3 xs *who_o = NULL;
4
5+ if (blocked_hashtag_check(snac, a_msg))
6+ snac_debug(snac, 1, xs_fmt("blocked by hashtag %s", object));
7+ else
8 if (valid_status(actor_request(snac, who, &who_o))) {
9 /* don't account as such announces by our own relay */
10 xs *this_relay = xs_fmt("%s/relay", srv_baseurl);