summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 8d15a38f33..b506218b48 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -357,7 +357,7 @@ INT_PTR CTelegramProto::GetCaps(int type, MCONTACT)
MEVENT CTelegramProto::RecvFile(MCONTACT hContact, PROTORECVFILE *pre)
{
- auto *ft = (TG_FILE_REQUEST *)pre->lParam;
+ auto *ft = (TG_FILE_REQUEST *)pre->pUserInfo;
return (ft->m_bRecv) ? CSuper::RecvFile(hContact, pre) : 0;
}