From d40e47f70964ad7e41fc06a8aa281db30a24050b Mon Sep 17 00:00:00 2001 From: grunfink Date: Wed, 3 Sep 2025 06:12:50 +0200 Subject: New function enqueue_collect_outbox(). --- activitypub.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activitypub.c') diff --git a/activitypub.c b/activitypub.c index b9ef86b..c186095 100644 --- a/activitypub.c +++ b/activitypub.c @@ -3079,6 +3079,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)); } -- cgit v1.2.3