From bb28b1c090b991093ce0640de6b739946589368a Mon Sep 17 00:00:00 2001 From: default Date: Mon, 11 Mar 2024 08:27:37 +0100 Subject: [PATCH] Also accept Article objects. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index 22a12fa..e2a40c8 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1912,7 +1912,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req) return 1; } - if (strcmp(utype, "Note") == 0) { /** **/ + if (xs_match(utype, "Note|Article")) { /** **/ char *id = xs_dict_get(object, "id"); char *in_reply_to = xs_dict_get(object, "inReplyTo"); xs *wrk = NULL;