summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar default2023-08-12 11:23:01 +0200
committerGravatar default2023-08-12 11:23:01 +0200
commitcac1c6febd0ce90424831b15a9651026b4bb017c (patch)
treeee9e290ef0a51aae2fec42665ef62348e5fc2666 /activitypub.c
parentRewritten is_msg_public() to not depend on a user. (diff)
downloadsnac2-cac1c6febd0ce90424831b15a9651026b4bb017c.tar.gz
snac2-cac1c6febd0ce90424831b15a9651026b4bb017c.tar.xz
snac2-cac1c6febd0ce90424831b15a9651026b4bb017c.zip
Rewritten actor_get() to not depend on a user.
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 2c20e63..6fb6bf5 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -117,7 +117,7 @@ int actor_request(snac *snac, const char *actor, xs_dict **data)
117 *data = NULL; 117 *data = NULL;
118 118
119 /* get from disk first */ 119 /* get from disk first */
120 status = actor_get(snac, actor, data); 120 status = actor_get(actor, data);
121 121
122 if (status != 200) { 122 if (status != 200) {
123 /* actor data non-existent or stale: get from the net */ 123 /* actor data non-existent or stale: get from the net */