aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-08-18 19:54:53 +0200
committergrunfink <grunfink@comam.es>2025-08-18 19:54:53 +0200
commitff52f779b7d47da0274287c01a4cdd19e952c73e (patch)
tree5f8f7e24191253ff6a24df8d5767049503cae591 /activitypub.c
parent1b8206fe25cd4737b3b497d9af7e729043a75c76 (diff)
New function enqueue_collect_replies().
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 a375584..065fbcd 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -2915,6 +2915,12 @@ void process_user_queue_item(snac *user, xs_dict *q_item)
}
}
else
+ if (strcmp(type, "collect_replies") == 0) {
+ const char *post = xs_dict_get(q_item, "message");
+
+ collect_replies(user, post);
+ }
+ else
snac_log(user, xs_fmt("unexpected user q_item type '%s'", type));
}