diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-05-06 21:10:28 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-05-06 21:10:28 +0000 |
commit | 7bea1db1766147e4294f92c55dc94f247f7ff0e1 (patch) | |
tree | bbb3673e3c822be04202841352bb11be3dfd3ee3 /protocols/Tox/src/tox_transfer.h | |
parent | 28543611a67b88a42e36a26c3cd2fd7f367b40b4 (diff) |
Tox: fast fix for contacts avatar changing
git-svn-id: http://svn.miranda-ng.org/main/trunk@13472 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_transfer.h')
-rw-r--r-- | protocols/Tox/src/tox_transfer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_transfer.h b/protocols/Tox/src/tox_transfer.h index c185209091..2ac2726b9d 100644 --- a/protocols/Tox/src/tox_transfer.h +++ b/protocols/Tox/src/tox_transfer.h @@ -22,6 +22,8 @@ struct FileTransferParam uint32_t fileNumber;
uint64_t transferNumber;
+ bool isAvatar;
+
FileTransferParam(uint32_t friendNumber, uint32_t fileNumber, const TCHAR *fileName, uint64_t fileSize)
{
status = NONE;
@@ -40,6 +42,8 @@ struct FileTransferParam pfts.totalProgress = pfts.currentFileProgress = 0;
pfts.currentFileNumber = 0;
pfts.tszWorkingDir = NULL;
+
+ isAvatar = false;
}
bool OpenFile(const TCHAR *mode)
|