diff options
| author | default <nobody@localhost> | 2023-07-13 18:18:23 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2023-07-13 18:18:23 +0200 |
| commit | 545af948dbdd571b7c69f6e437fea5bbad4ab766 (patch) | |
| tree | f5f74d654098255a763dea0c09fcdee9bfd36f14 /data.c | |
| parent | 137f7756059bfcbf74ff551e72f2210e4e77789f (diff) | |
New function post_message(), to send a message bypassing the output queue.
This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.
If the message cannot be immediately sent, it's queued as always.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2092,7 +2092,7 @@ void enqueue_telegram(const xs_str *msg, const char *bot, const char *chat_id) } -void enqueue_message(snac *snac, xs_dict *msg) +void enqueue_message(snac *snac, const xs_dict *msg) /* enqueues an output message */ { xs *qmsg = _new_qmsg("message", msg, 0); |