summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-08-18 19:54:53 +0200
committerGravatar grunfink2025-08-18 19:54:53 +0200
commitff52f779b7d47da0274287c01a4cdd19e952c73e (patch)
tree5f8f7e24191253ff6a24df8d5767049503cae591 /activitypub.c
parentFixed typo. (diff)
downloadsnac2-ff52f779b7d47da0274287c01a4cdd19e952c73e.tar.gz
snac2-ff52f779b7d47da0274287c01a4cdd19e952c73e.tar.xz
snac2-ff52f779b7d47da0274287c01a4cdd19e952c73e.zip
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)
2915 } 2915 }
2916 } 2916 }
2917 else 2917 else
2918 if (strcmp(type, "collect_replies") == 0) {
2919 const char *post = xs_dict_get(q_item, "message");
2920
2921 collect_replies(user, post);
2922 }
2923 else
2918 snac_log(user, xs_fmt("unexpected user q_item type '%s'", type)); 2924 snac_log(user, xs_fmt("unexpected user q_item type '%s'", type));
2919} 2925}
2920 2926