aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-03 06:12:50 +0200
committergrunfink <grunfink@comam.es>2025-09-03 06:12:50 +0200
commitd40e47f70964ad7e41fc06a8aa281db30a24050b (patch)
treeee44147c2a1077022c624e29b0140a09b463051c /activitypub.c
parent59f3b5465ecca02cb90310fd1dbc46456d6a4908 (diff)
New function enqueue_collect_outbox().
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c
index b9ef86b..c186095 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -3080,6 +3080,12 @@ void process_user_queue_item(snac *user, xs_dict *q_item)
collect_replies(user, post);
}
else
+ if (strcmp(type, "collect_outbox") == 0) {
+ const char *actor_id = xs_dict_get(q_item, "message");
+
+ collect_outbox(user, actor_id);
+ }
+ else
snac_log(user, xs_fmt("unexpected user q_item type '%s'", type));
}