diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-13 20:19:46 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-13 20:19:46 +0300 |
commit | 054bb1949247445a29a68812579800904edf6a02 (patch) | |
tree | 6aecd3e738de818d45e703325b17f571baf02ee0 /protocols/CloudFile/src | |
parent | 7657cf3cd9f3ae33e29091a947d76234997ebfd9 (diff) |
MS_FILE_* services became useless since StdFile died
Diffstat (limited to 'protocols/CloudFile/src')
-rw-r--r-- | protocols/CloudFile/src/cloud_file.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/CloudFile/src/cloud_file.cpp b/protocols/CloudFile/src/cloud_file.cpp index 8674789126..9f66caaf82 100644 --- a/protocols/CloudFile/src/cloud_file.cpp +++ b/protocols/CloudFile/src/cloud_file.cpp @@ -77,11 +77,10 @@ void CCloudService::OpenUploadDialog(MCONTACT hContact) auto it = InterceptedContacts.find(hContact); if (it == InterceptedContacts.end()) { - HWND hwnd = (HWND)CallService(MS_FILE_SENDFILE, hContact, 0); + HWND hwnd = File::Send(hContact); InterceptedContacts[hContact] = hwnd; } - else - SetActiveWindow(it->second); + else SetActiveWindow(it->second); } MWindow CCloudService::OnCreateAccMgrUI(MWindow hwndParent) |