snac2

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

commit 34028cddb8cb432f3202444833cebe6f87df3725
parent 3ae5c1c037404f3256d3b934014f0922458c4a3b
Author: default <nobody@localhost>
Date:   Fri, 16 Aug 2024 18:43:24 +0200

Ignore 'Remove' messages.

Diffstat:
Mactivitypub.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activitypub.c b/activitypub.c @@ -1721,7 +1721,7 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) type = "Note"; /* reject uninteresting messages right now */ - if (xs_match(type, "Add|View|Reject|Read")) { + if (xs_match(type, "Add|View|Reject|Read|Remove")) { srv_debug(0, xs_fmt("Ignored message of type '%s'", type)); return -1; }