summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-03-12 18:04:09 +0100
committerdefault <nobody@localhost>2024-03-12 18:04:09 +0100
commitcd0e211354575f89f169da2e86b5b234a2624b9d (patch)
treebc681f26bd01436c1fdf06ca3cc74a941d234d37 /activitypub.c
parentf485dbdaf0f6372b9815be3d78ae2839e80d6946 (diff)
Don't call enqueue_actor_request() with a NULL user.
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 08f79ed..bd72cb4 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2256,6 +2256,8 @@ void process_user_queue_item(snac *snac, xs_dict *q_item)
if (valid_status((status = activitypub_request(snac, actor, &actor_o))))
actor_add(actor, actor_o);
+ else
+ object_touch(actor);
snac_log(snac, xs_fmt("refresh actor %s %d", actor, status));
}