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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user