1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 21:43:02 +01:00

another fix

This commit is contained in:
Jfreegman 2014-09-07 22:05:17 -04:00
parent 3ca22aa714
commit 416ebc9ab8
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

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;
}