From 34349112f6bfa6a7a25f778d2eabfa2b0aa00f9e Mon Sep 17 00:00:00 2001 From: default Date: Tue, 20 Feb 2024 05:31:34 +0100 Subject: New verify_links q_item. --- data.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'data.c') 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 */ { -- cgit v1.2.3