summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-03 23:46:02 +0300
committeraunsane <aunsane@gmail.com>2018-03-03 23:46:02 +0300
commitc257e17520118623ef8ae6ec7cf57249b4fd9ba0 (patch)
tree25338645679f06f4cd8a8437927c088cbbd07082 /protocols/Tox
parentd9df97aae220c8ea0447b6a17dcc3f85b755ef1d (diff)
Tox: temporary fix for #1153
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_transfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_transfer.cpp b/protocols/Tox/src/tox_transfer.cpp
index fa1798d57c..f6dd36df9f 100644
--- a/protocols/Tox/src/tox_transfer.cpp
+++ b/protocols/Tox/src/tox_transfer.cpp
@@ -100,7 +100,7 @@ int CToxProto::OnFileResume(Tox *tox, HANDLE hTransfer, int *action, const wchar
if (*action == FILERESUME_SKIP) {
tox_file_control(tox, transfer->friendNumber, transfer->fileNumber, TOX_FILE_CONTROL_CANCEL, nullptr);
- ProtoBroadcastAck(transfer->pfts.hContact, ACKTYPE_FILE, ACKRESULT_NEXTFILE, (HANDLE)transfer, 0);
+ ProtoBroadcastAck(transfer->pfts.hContact, ACKTYPE_FILE, ACKRESULT_DENIED, (HANDLE)transfer, 0);
transfers.Remove(transfer);
return 0;
}