summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/srmm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/srmm.cpp')
-rw-r--r--plugins/CloudFile/src/srmm.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/CloudFile/src/srmm.cpp b/plugins/CloudFile/src/srmm.cpp
index d68e0fa63c..75e1aa65ee 100644
--- a/plugins/CloudFile/src/srmm.cpp
+++ b/plugins/CloudFile/src/srmm.cpp
@@ -66,14 +66,7 @@ int OnSrmmButtonPressed(WPARAM, LPARAM lParam)
if (ind > 0) {
CCloudService *service = Services[ind - 1];
- auto it = service->InterceptedContacts.find(cbc->hContact);
- if (it == service->InterceptedContacts.end())
- {
- HWND hwnd = (HWND)CallService(MS_FILE_SENDFILE, cbc->hContact, 0);
- service->InterceptedContacts[cbc->hContact] = hwnd;
- }
- else
- SetActiveWindow(it->second);
+ service->OpenUploadDialog(cbc->hContact);
}
return 0;