summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-13 20:19:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-13 20:19:46 +0300
commit054bb1949247445a29a68812579800904edf6a02 (patch)
tree6aecd3e738de818d45e703325b17f571baf02ee0 /protocols/CloudFile/src
parent7657cf3cd9f3ae33e29091a947d76234997ebfd9 (diff)
MS_FILE_* services became useless since StdFile died
Diffstat (limited to 'protocols/CloudFile/src')
-rw-r--r--protocols/CloudFile/src/cloud_file.cpp5
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)