diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-19 13:39:51 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-19 13:39:51 +0300 |
commit | 4f96ac493ef8e912cd1507fe79e4831a8cf7efb0 (patch) | |
tree | 1353aaa74990b265161a7ac97191d6983bb6f01c /src/mir_app | |
parent | ffd5d3db80f0f4d97747e2810ea55b7fb9a3ad98 (diff) |
code cleaning
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/file.cpp b/src/mir_app/src/file.cpp index 4b1b1c843f..4be92ea9be 100644 --- a/src/mir_app/src/file.cpp +++ b/src/mir_app/src/file.cpp @@ -262,7 +262,7 @@ MEVENT Proto_RecvFile(MCONTACT hContact, PROTORECVFILE *pre) DB::FILE_BLOB blob(wszFiles, wszDescr); if (auto *ppro = Proto_GetContactInstance(hContact)) - ppro->OnReceiveOfflineFile(blob, (void*)pre->lParam); + ppro->OnReceiveOfflineFile(blob, pre->pUserInfo); blob.write(dbei); MEVENT hdbe = db_event_add(hContact, &dbei); @@ -273,7 +273,7 @@ MEVENT Proto_RecvFile(MCONTACT hContact, PROTORECVFILE *pre) CLISTEVENT cle = {}; cle.hContact = hContact; cle.hDbEvent = hdbe; - cle.lParam = pre->lParam; + cle.lParam = LPARAM(pre->pUserInfo); if (!bSilent && File::bAutoAccept && Contact::OnList(hContact)) LaunchRecvDialog(&cle); |