summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_avatars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_avatars.cpp')
-rw-r--r--protocols/Tox/src/tox_avatars.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_avatars.cpp b/protocols/Tox/src/tox_avatars.cpp
index bc683bf0f6..fb37813e26 100644
--- a/protocols/Tox/src/tox_avatars.cpp
+++ b/protocols/Tox/src/tox_avatars.cpp
@@ -95,8 +95,6 @@ void CToxProto::SetToxAvatar(std::tstring path, bool checkHash)
FileTransferParam *transfer = new FileTransferParam(friendNumber, fileNumber, _T("avatar"), length);
transfer->pfts.hContact = hContact;
- transfer->pfts.flags |= PFTS_SENDING;
- //transfer->pfts.tszWorkingDir = fileDir;
transfer->hFile = _tfopen(path.c_str(), L"rb");
transfers.Add(transfer);
}