mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 02:23:01 +01:00
another fix
This commit is contained in:
parent
3ca22aa714
commit
416ebc9ab8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user