diff options
author | default <nobody@localhost> | 2023-08-23 09:44:46 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-23 09:44:46 +0200 |
commit | 505084bab74ec5a2a2c7c662cf7efe739fba3afa (patch) | |
tree | 6bf716d08939f454049bcbb8c808427467c81c36 /activitypub.c | |
parent | 7e63766e4a609ee0877474332f6406cc4fd9dbd9 (diff) |
Added some support for 'Article' object types.
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |