From 054bb1949247445a29a68812579800904edf6a02 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Dec 2023 20:19:46 +0300 Subject: MS_FILE_* services became useless since StdFile died --- protocols/CloudFile/src/cloud_file.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/CloudFile/src') 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) -- cgit v1.2.3