diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-22 20:00:00 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-22 20:00:00 +0300 |
commit | f51a93d218c3e3184be365be1c078086493c6fed (patch) | |
tree | 0108473aedab9280fe977a348a8e498e93b3bf4c /protocols/Telegram | |
parent | 07c1a795d1cbeaaed59191290697993fac8114ec (diff) |
Telegram: incoming files should take care aboud Saved messages folder
Diffstat (limited to 'protocols/Telegram')
-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 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;
}
|