summaryrefslogtreecommitdiff
path: root/protocols/CloudFile
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CloudFile')
-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)