summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-12-01 19:38:11 +0100
committerdefault <nobody@localhost>2022-12-01 19:38:11 +0100
commite98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c (patch)
tree19dc96cb6a9f5831d01863584188c9896a2eb3ac
parentc7c1ee69fcfc6818d931b7d99a7aa2074562d9c7 (diff)
Added the profile="" argument to Person content-type.
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
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) {