summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c4
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 */