1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-19 23:26:37 +02:00

another fix

This commit is contained in:
Jfreegman
2014-09-07 22:05:17 -04:00
parent 3ca22aa714
commit 416ebc9ab8

View File

@ -69,7 +69,10 @@ static void cqueue_mark_read(ToxWindow *self, uint32_t id, uint8_t type)
while (line) {
if (line->id == id) {
line->type = type == OUT_ACTION ? OUT_ACTION_READ : OUT_MSG_READ;
line->len -= 2; /* removes " x" */
if (timed_out(line->timestamp, get_unix_time(), CQUEUE_TRY_SEND_INTERVAL))
line->len -= 2; /* removes " x" */
return;
}