summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-08-16 18:31:39 +0200
committerdefault <nobody@localhost>2024-08-16 18:31:39 +0200
commitab93ca3f757962095e42a7254aa3fc8268f51082 (patch)
treec716cd25880e0cb39dd1b4dc3c20a0ce332d1d5b /activitypub.c
parente4f4bad4f7417ea9df37efa8b5e1fac8e247e52c (diff)
Ignore 'Reject' 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 65e555d..98256ae 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")) {
+ if (xs_match(type, "Add|View|Reject")) {
srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
return -1;
}