From 37bd274cc2581512307abb78e7dd6800dd69e90c Mon Sep 17 00:00:00 2001 From: aunsane Date: Wed, 26 Apr 2017 23:29:30 +0300 Subject: CloudFile: fix sending to metacontacs --- plugins/CloudFile/src/srmm.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/CloudFile/src/srmm.cpp') 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; -- cgit v1.2.3