summaryrefslogtreecommitdiff
path: root/protocols/Telegram
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-22 20:00:00 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-22 20:00:00 +0300
commitf51a93d218c3e3184be365be1c078086493c6fed (patch)
tree0108473aedab9280fe977a348a8e498e93b3bf4c /protocols/Telegram
parent07c1a795d1cbeaaed59191290697993fac8114ec (diff)
Telegram: incoming files should take care aboud Saved messages folder
Diffstat (limited to 'protocols/Telegram')
-rw-r--r--protocols/Telegram/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/utils.cpp b/protocols/Telegram/src/utils.cpp
index 407a28ca8c..849f5c2399 100644
--- a/protocols/Telegram/src/utils.cpp
+++ b/protocols/Telegram/src/utils.cpp
@@ -304,7 +304,7 @@ bool CTelegramProto::GetMessageFile(
pre.descr.a = caption.c_str();
if (pMsg->is_outgoing_)
pre.dwFlags |= PRFF_SENT;
- ProtoChainRecvFile(pUser->hContact, &pre);
+ ProtoChainRecvFile(GetRealContact(pUser), &pre);
return true;
}