diff options
author | aunsane <aunsane@gmail.com> | 2017-04-26 23:29:30 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-04-26 23:29:30 +0300 |
commit | 37bd274cc2581512307abb78e7dd6800dd69e90c (patch) | |
tree | d2f17bf4905dcb27f738c81bc7f91ca5bf7e9f83 /plugins/CloudFile/src/srmm.cpp | |
parent | e12dfaff436fe7d882d065f3a724c39eadc67033 (diff) |
CloudFile: fix sending to metacontacs
Diffstat (limited to 'plugins/CloudFile/src/srmm.cpp')
-rw-r--r-- | plugins/CloudFile/src/srmm.cpp | 9 |
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; |