summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-08-16 18:43:24 +0200
committerdefault <nobody@localhost>2024-08-16 18:43:24 +0200
commit34028cddb8cb432f3202444833cebe6f87df3725 (patch)
treed2d007c205a88fbd25c29fdf2d08519291b94dd2 /activitypub.c
parent3ae5c1c037404f3256d3b934014f0922458c4a3b (diff)
Ignore 'Remove' messages.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index 66c5539..797dff0 100644
--- 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;
}