summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-12-01 19:38:11 +0100
committerGravatar default2022-12-01 19:38:11 +0100
commite98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c (patch)
tree19dc96cb6a9f5831d01863584188c9896a2eb3ac /activitypub.c
parentUpdated TODO. (diff)
downloadsnac2-e98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c.tar.gz
snac2-e98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c.tar.xz
snac2-e98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c.zip
Added the profile="" argument to Person content-type.
Diffstat (limited to 'activitypub.c')
-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,
1089 if (p_path == NULL) { 1089 if (p_path == NULL) {
1090 /* if there was no component after the user, it's an actor request */ 1090 /* if there was no component after the user, it's an actor request */
1091 msg = msg_actor(&snac); 1091 msg = msg_actor(&snac);
1092 *ctype = "application/ld+json"; 1092 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
1093 } 1093 }
1094 else 1094 else
1095 if (strcmp(p_path, "outbox") == 0) { 1095 if (strcmp(p_path, "outbox") == 0) {