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

alert chat window on file send/failure

This commit is contained in:
Jfreegman
2013-11-19 16:00:24 -05:00
parent f43d735861
commit d8da80914d
3 changed files with 16 additions and 4 deletions

View File

@@ -166,7 +166,7 @@ void cmd_sendfile(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv
if (!file_senders[i].active) {
memcpy(file_senders[i].pathname, path, path_len + 1);
file_senders[i].active = true;
file_senders[i].chatwin = window;
file_senders[i].toxwin = self;
file_senders[i].file = file_to_send;
file_senders[i].filenum = (uint8_t) filenum;
file_senders[i].friendnum = self->num;