aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-03-12 19:47:37 +0100
committerdefault <nobody@localhost>2024-03-12 19:47:37 +0100
commit66c42da77ae87ef4383b7099b35f9691b9f9003a (patch)
treea83a3ea36b867a2c5a5612274b7525effcc58981 /activitypub.c
parentf332acc70d9a335d572a0eb7ffcf34c83362741c (diff)
Queue actor request renamed to actor_refresh.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c
index 18e270a..28b2427 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -130,7 +130,7 @@ int actor_request(snac *user, const char *actor, xs_dict **data)
if (status == 205) {
/* stale actor: use it, but request a refresh */
if (!xs_startswith(actor, srv_baseurl))
- enqueue_actor_request(user, actor);
+ enqueue_actor_refresh(user, actor);
}
else
if (!valid_status(status)) {
@@ -2249,7 +2249,7 @@ void process_user_queue_item(snac *snac, xs_dict *q_item)
verify_links(snac);
}
else
- if (strcmp(type, "actor_request") == 0) {
+ if (strcmp(type, "actor_refresh") == 0) {
const char *actor = xs_dict_get(q_item, "actor");
double mtime = object_mtime(actor);
@@ -2263,7 +2263,7 @@ void process_user_queue_item(snac *snac, xs_dict *q_item)
else
object_touch(actor);
- snac_log(snac, xs_fmt("refresh actor %s %d", actor, status));
+ snac_log(snac, xs_fmt("actor_refresh %s %d", actor, status));
}
}
else