summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/srmm.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-04-26 23:29:30 +0300
committeraunsane <aunsane@gmail.com>2017-04-26 23:29:30 +0300
commit37bd274cc2581512307abb78e7dd6800dd69e90c (patch)
treed2f17bf4905dcb27f738c81bc7f91ca5bf7e9f83 /plugins/CloudFile/src/srmm.cpp
parente12dfaff436fe7d882d065f3a724c39eadc67033 (diff)
CloudFile: fix sending to metacontacs
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;