summaryrefslogtreecommitdiff
path: root/protocols/CloudFile/src/cloud_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/CloudFile/src/cloud_file.cpp')
-rw-r--r--protocols/CloudFile/src/cloud_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/CloudFile/src/cloud_file.cpp b/protocols/CloudFile/src/cloud_file.cpp
index f6019f8196..6cd398adb3 100644
--- a/protocols/CloudFile/src/cloud_file.cpp
+++ b/protocols/CloudFile/src/cloud_file.cpp
@@ -78,7 +78,7 @@ HANDLE CCloudService::SendFile(MCONTACT hContact, const wchar_t *description, wc
void CCloudService::OpenUploadDialog(MCONTACT hContact)
{
- char *proto = GetContactProto(hContact);
+ char *proto = Proto_GetBaseAccountName(hContact);
if (!mir_strcmpi(proto, META_PROTO))
hContact = db_mc_getMostOnline(hContact);