summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-20 05:31:34 +0100
committerdefault <nobody@localhost>2024-02-20 05:31:34 +0100
commit34349112f6bfa6a7a25f778d2eabfa2b0aa00f9e (patch)
treecfed0776da9259472ac5620cc0933034ba1244a1 /data.c
parentada3e978c5d8ba16e15c0ee081f4c1a4b703195c (diff)
New verify_links q_item.
Diffstat (limited to 'data.c')
-rw-r--r--data.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/data.c b/data.c
index e35a5dd..e0a2d82 100644
--- a/data.c
+++ b/data.c
@@ -2365,6 +2365,19 @@ void enqueue_close_question(snac *user, const char *id, int end_secs)
}
+void enqueue_verify_links(snac *user)
+/* enqueues a link verification */
+{
+ xs *qmsg = _new_qmsg("verify_links", "", 0);
+ char *ntid = xs_dict_get(qmsg, "ntid");
+ xs *fn = xs_fmt("%s/queue/%s.json", user->basedir, ntid);
+
+ qmsg = _enqueue_put(fn, qmsg);
+
+ snac_debug(user, 0, xs_fmt("enqueue_verify_links %s", user->actor));
+}
+
+
void enqueue_request_replies(snac *user, const char *id)
/* enqueues a request for the replies of a message */
{