commit e98dbe4eb51eb5d926ed6770b9c02fe33fa2a93c
parent c7c1ee69fcfc6818d931b7d99a7aa2074562d9c7
Author: default <nobody@localhost>
Date: Thu, 1 Dec 2022 19:38:11 +0100
Added the profile="" argument to Person content-type.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {