mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-30 08:26:45 +02:00
Implement file transfer queue for offline friends
File transfers initiated for offline friends are now added to a queue and initiated all at once when the friend appears online.
This commit is contained in:
@ -248,6 +248,7 @@ static void chat_onConnectionChange(ToxWindow *self, Tox *m, uint32_t num, Tox_C
|
||||
|
||||
if (prev_status == TOX_CONNECTION_NONE) {
|
||||
chat_resume_file_senders(self, m, num);
|
||||
file_send_queue_check(self, m, self->num);
|
||||
|
||||
msg = "has come online";
|
||||
line_info_add(self, true, nick, NULL, CONNECTION, 0, GREEN, msg);
|
||||
|
Reference in New Issue
Block a user