1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 21:26:34 +01:00

message queue improvements

This commit is contained in:
Jfreegman
2014-09-09 14:06:28 -04:00
parent 09f90d095b
commit bcf4a5af90
4 changed files with 55 additions and 37 deletions

View File

@@ -588,11 +588,11 @@ void *thread_cqueue(void *data)
ToxWindow *toxwin = get_window_ptr(i);
if (toxwin != NULL && toxwin->is_chat && tox_get_friend_connection_status(m, toxwin->num) == 1)
cqueue_try_send(toxwin, m);
cqueue_try_send(toxwin, m, toxwin->num);
}
pthread_mutex_unlock(&Winthread.lock);
usleep(50000);
usleep(7000);
}
}