From c257e17520118623ef8ae6ec7cf57249b4fd9ba0 Mon Sep 17 00:00:00 2001 From: aunsane Date: Sat, 3 Mar 2018 23:46:02 +0300 Subject: Tox: temporary fix for #1153 --- protocols/Tox/src/tox_transfer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3