mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-22 21:43:02 +01:00
fix filetransfer bug
This commit is contained in:
parent
bc4a730e76
commit
ad23816096
@ -369,7 +369,7 @@ static void chat_onFileControl(ToxWindow *self, Tox *m, int32_t num, uint8_t rec
|
||||
filename = friends[num].file_receiver.filenames[filenum];
|
||||
} else {
|
||||
for (i = 0; i < MAX_FILES; ++i) {
|
||||
if (file_senders[i].filenum == filenum)
|
||||
if (file_senders[i].active && file_senders[i].filenum == filenum)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user