diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-03-09 21:08:15 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-03-09 21:08:15 +0000 |
commit | 23088b0c249cb5b00f08947338734e03be36f961 (patch) | |
tree | ee19a55e99d0512b573140e4b0b6d58739a6bab9 /plugins/Dropbox/src/dropbox_transfers.cpp | |
parent | bc53983ca355f2d4aa73cffb8dee68e7b7cba585 (diff) |
Dropbox: added MS_DROPBOX_SEND_FILEW service
git-svn-id: http://svn.miranda-ng.org/main/trunk@8529 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_transfers.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_transfers.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox_transfers.cpp b/plugins/Dropbox/src/dropbox_transfers.cpp index 53433bacd1..82233f6b74 100644 --- a/plugins/Dropbox/src/dropbox_transfers.cpp +++ b/plugins/Dropbox/src/dropbox_transfers.cpp @@ -493,12 +493,14 @@ void _cdecl CDropbox::SendFileAsync(void *arg) if (ftp->hContact != ftp->instance->GetDefaultContact())
{
CallContactService(ftp->hContact, PSS_MESSAGE, 0, (LPARAM)urls.GetBuffer());
- dbei.flags |= DBEF_SENT | DBEF_READ;
+ dbei.flags |= DBEF_SENT;
+ dbei.flags |= DBEF_READ;
}
db_event_add(ftp->hContact, &dbei);
}
- else if (db_get_b(NULL, MODULE, "UrlPasteToMessageLog", 1))
+
+ if (db_get_b(NULL, MODULE, "UrlPasteToMessageInputArea", 1))
CallServiceSync(MS_MSG_SENDMESSAGE, (WPARAM)ftp->hContact, (LPARAM)urls.GetBuffer());
if (db_get_b(NULL, MODULE, "UrlCopyToClipboard", 1))
|