summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2022-12-16 08:35:52 +0100
committerGravatar default2022-12-16 08:35:52 +0100
commit8461fbfbccea4f716505b25a2b3fcaddf0a83ee4 (patch)
tree21f72114d26c3d9b5f500c1f2c505f8bc5bbb1e1 /activitypub.c
parentIn msg_note(), delete all cc recipients also in the to. (diff)
downloadsnac2-8461fbfbccea4f716505b25a2b3fcaddf0a83ee4.tar.gz
snac2-8461fbfbccea4f716505b25a2b3fcaddf0a83ee4.tar.xz
snac2-8461fbfbccea4f716505b25a2b3fcaddf0a83ee4.zip
Log the actor request.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index 356e51b..5e4d254 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1139,6 +1139,8 @@ int activitypub_get_handler(d_char *req, char *q_path,
1139 /* if there was no component after the user, it's an actor request */ 1139 /* if there was no component after the user, it's an actor request */
1140 msg = msg_actor(&snac); 1140 msg = msg_actor(&snac);
1141 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\""; 1141 *ctype = "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"";
1142
1143 snac_debug(&snac, 0, xs_fmt("actor requested"));
1142 } 1144 }
1143 else 1145 else
1144 if (strcmp(p_path, "outbox") == 0) { 1146 if (strcmp(p_path, "outbox") == 0) {