From e98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c Mon Sep 17 00:00:00 2001 From: default Date: Thu, 1 Dec 2022 19:38:11 +0100 Subject: [PATCH] Added the profile="" argument to Person content-type. --- activitypub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub.c b/activitypub.c index f23c5e0..7f63310 100644 --- a/activitypub.c +++ b/activitypub.c @@ -1089,7 +1089,7 @@ int activitypub_get_handler(d_char *req, char *q_path, if (p_path == NULL) { /* if there was no component after the user, it's an actor request */ msg = msg_actor(&snac); - *ctype = "application/ld+json"; + *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; } else if (strcmp(p_path, "outbox") == 0) {