1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-28 09:16:45 +02:00

don't write unsent messages to log

This commit is contained in:
Jfreegman
2014-09-11 01:36:33 -04:00
parent 13c5de5531
commit 0a6ce62363
4 changed files with 18 additions and 13 deletions

View File

@ -42,5 +42,5 @@ void cqueue_add(struct chat_queue *q, const char *msg, int len, uint8_t type, ui
/* Tries to send the oldest unsent message in queue. */
void cqueue_try_send(ToxWindow *self, Tox *m);
/* removes message with matching receipt from queue and updates line to show the message was received. */
void cqueue_remove(ToxWindow *self, struct chat_queue *q, uint32_t receipt);
/* removes message with matching receipt from queue, writes to log and updates line to show the message was received. */
void cqueue_remove(ToxWindow *self, Tox *m, uint32_t receipt);