summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-06-04 14:55:12 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-06-04 14:55:18 +0300
commit223448d75b2aa2ea525beee96f9cf0fb266d8e73 (patch)
tree020bff4df47b5adf20725873d805f5c80143811b /protocols/Telegram/src/proto.cpp
parenta8f47024e41801046b81cf79fa8f2b861f06598e (diff)
fixes #5014 completely
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 97c3e44a01..28202199b8 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -465,6 +465,7 @@ void CTelegramProto::ProcessFileMessage(TG_FILE_REQUEST *ft, const TD::message *
// if that file was sent once, it might be cached at the server & reused
if (auto *pRemote = pFile->remote_.get()) {
if (pRemote->is_uploading_completed_) {
+ ShowFileProgress(pFile, ft);
ProtoBroadcastAck(ft->m_hContact, ACKTYPE_FILE, ACKRESULT_SUCCESS, ft);
delete ft;
return;