diff options
author | default <nobody@localhost> | 2023-06-07 12:04:59 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-07 12:04:59 +0200 |
commit | ecde1c219e583d45e5ef46dcdd82c24b888fef1b (patch) | |
tree | ef3861be55944b489151d045efaec61ae4c41713 /snac.h | |
parent | e926fa23098f594b52d560f20043fd1a47329848 (diff) |
New function enqueue_request_replies().
This way, the (potentially expensive and slow) call to
timeline_request_replies() is detached from actions like
replying a message from the web ui.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -165,6 +165,7 @@ void enqueue_email(xs_str *msg, int retries); void enqueue_telegram(const xs_str *msg, const char *bot, const char *chat_id); void enqueue_message(snac *snac, char *msg); void enqueue_close_question(snac *user, const char *id, int end_secs); +void enqueue_request_replies(snac *user, const char *id); int was_question_voted(snac *user, const char *id); xs_list *user_queue(snac *snac); @@ -213,6 +214,7 @@ xs_dict *msg_question(snac *user, const char *content, xs_list *attach, int activitypub_request(snac *snac, const char *url, xs_dict **data); int actor_request(snac *snac, const char *actor, xs_dict **data); +void timeline_request_replies(snac *user, const char *id); int send_to_inbox_raw(const char *keyid, const char *seckey, const xs_str *inbox, const xs_dict *msg, xs_val **payload, int *p_size, int timeout); |