snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 7cc984c8d49ea5ae6e1902d91fafed9880384f2a
parent 995ea87a8f60f160c4846e4fbfce4e9ae60273de
Author: default <nobody@localhost>
Date:   Thu, 27 Feb 2025 17:47:06 +0100

More hashtag block tweaks.

Diffstat:
Mactivitypub.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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);