diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 14:47:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 14:47:53 +0000 |
commit | 999fdaa2662a1fe8937ec110232a78e87d79bfe7 (patch) | |
tree | 1c3d7c292fa5a54986e266778979c2496bb5a420 /plugins/Dropbox/src/dropbox_services.cpp | |
parent | 44223012ce0fa631cc5af6fc588166bccc3a66f6 (diff) |
Dropbox:
- remove menu item and srmm button for intercepted accounts
- removed limitation on single transfer window from menu item and srmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@16405 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_services.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_services.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index 44a0cd5113..853db24e00 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -44,7 +44,6 @@ INT_PTR CDropbox::ProtoSendFile(WPARAM, LPARAM lParam) }
FileTransferParam *ftp = new FileTransferParam(pccsd->hContact);
- hTransferContact = 0;
const TCHAR *description = (TCHAR*)pccsd->wParam;
if (description && description[0])
@@ -70,10 +69,7 @@ INT_PTR CDropbox::ProtoSendFileInterceptor(WPARAM wParam, LPARAM lParam) CCSDATA *pccsd = (CCSDATA*)lParam;
const char *proto = GetContactProto(pccsd->hContact);
- const char *interceptedAccounts = db_get_sa(NULL, MODULE, "InterceptedAccounts");
- if (interceptedAccounts == NULL)
- interceptedAccounts = db_get_sa(NULL, MODULE, "InterceptedProtos");
- if (interceptedAccounts == NULL || strstr(interceptedAccounts, proto) == NULL)
+ if (!IsAccountIntercepted(proto))
return CALLSERVICE_NOTFOUND;
return ProtoSendFile(wParam, lParam);
|