From f8fa7167e2ad67f63d7e873f87e7dab8a782bc17 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 30 Jul 2024 18:27:09 +0200 Subject: Notify blocks. --- activitypub.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index 5c52959..437cfaf 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2134,6 +2134,15 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) enqueue_output_by_actor(snac, rsp, actor, 0); } + else + if (strcmp(type, "Block") == 0) { /** **/ + snac_log(snac, xs_fmt("'Block' received from %s", actor)); + + /* should we MUTE the actor back? */ + /* mute(snac, actor); */ + + do_notify = 1; + } else { srv_archive_error("unsupported_type", "unsupported_type", req, msg); -- cgit v1.2.3