diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-05 14:26:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-05 14:26:57 +0300 |
commit | d980bcb6bf63496bf2231e4f7eb17087cc0b2d9f (patch) | |
tree | a4399fc481a892e9c4f8c10a8efabd67cbd25990 /protocols/Telegram/src/utils.cpp | |
parent | 92937e4817268a029cc2446b74319a0d29025ed2 (diff) |
fixes #3963 (Telegram: не удаётся скачать исходящую картинку, если файл стёрт)
Diffstat (limited to 'protocols/Telegram/src/utils.cpp')
-rw-r--r-- | protocols/Telegram/src/utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp index af638e1d11..8a4ef0dc0e 100644 --- a/protocols/Telegram/src/utils.cpp +++ b/protocols/Telegram/src/utils.cpp @@ -395,7 +395,7 @@ bool CTelegramProto::GetMessageFile( auto *pRequest = new TG_FILE_REQUEST(fileType, pFile->id_, pFile->remote_->id_.c_str());
pRequest->m_fileName = Utf2T(pszFileName);
pRequest->m_fileSize = pFile->size_;
- pRequest->m_bRecv = true;
+ pRequest->m_bRecv = !pMsg->is_outgoing_;
{
mir_cslock lck(m_csFiles);
m_arFiles.insert(pRequest);
|