From 505084bab74ec5a2a2c7c662cf7efe739fba3afa Mon Sep 17 00:00:00 2001 From: default Date: Wed, 23 Aug 2023 09:44:46 +0200 Subject: Added some support for 'Article' object types. --- activitypub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index da5ea95..35e9991 100644 --- a/activitypub.c +++ b/activitypub.c @@ -192,7 +192,9 @@ int timeline_request(snac *snac, char **id, xs_str **wrk, int level) type = "(null)"; } - if (strcmp(type, "Note") == 0 || strcmp(type, "Page") == 0) { + if (strcmp(type, "Note") == 0 || + strcmp(type, "Page") == 0 || + strcmp(type, "Article") == 0) { const char *actor = xs_dict_get(object, "attributedTo"); /* request (and drop) the actor for this entry */ -- cgit v1.2.3