summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-09-03 06:12:50 +0200
committerGravatar grunfink2025-09-03 06:12:50 +0200
commitd40e47f70964ad7e41fc06a8aa281db30a24050b (patch)
treeee44147c2a1077022c624e29b0140a09b463051c /activitypub.c
parentNew function collect_outbox(). (diff)
downloadpenes-snac2-d40e47f70964ad7e41fc06a8aa281db30a24050b.tar.gz
penes-snac2-d40e47f70964ad7e41fc06a8aa281db30a24050b.tar.xz
penes-snac2-d40e47f70964ad7e41fc06a8aa281db30a24050b.zip
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)
3080 collect_replies(user, post); 3080 collect_replies(user, post);
3081 } 3081 }
3082 else 3082 else
3083 if (strcmp(type, "collect_outbox") == 0) {
3084 const char *actor_id = xs_dict_get(q_item, "message");
3085
3086 collect_outbox(user, actor_id);
3087 }
3088 else
3083 snac_log(user, xs_fmt("unexpected user q_item type '%s'", type)); 3089 snac_log(user, xs_fmt("unexpected user q_item type '%s'", type));
3084} 3090}
3085 3091