commit ab93ca3f757962095e42a7254aa3fc8268f51082
parent e4f4bad4f7417ea9df37efa8b5e1fac8e247e52c
Author: default <nobody@localhost>
Date: Fri, 16 Aug 2024 18:31:39 +0200
Ignore 'Reject' messages.
Diffstat:
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")) {
+ if (xs_match(type, "Add|View|Reject")) {
srv_debug(0, xs_fmt("Ignored message of type '%s'", type));
return -1;
}