diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-02-27 11:49:07 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-02-27 11:49:07 +0000 |
commit | 11e87912bbd1082ad3939348ce891efaf547fd6c (patch) | |
tree | f2199f711a5f491bae5950a02c1c63034dbdd99f /plugins/Dropbox/src/dropbox_services.cpp | |
parent | 122e8eefe2aa6a93a2ee27c66b39ea52658bbfee (diff) |
Dropbox: shows sent link in history
git-svn-id: http://svn.miranda-ng.org/main/trunk@8286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_services.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_services.cpp | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index 1368db4b5c..e18a6e9953 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -89,18 +89,23 @@ INT_PTR CDropbox::ProtoSendFile(WPARAM wParam, LPARAM lParam) INT_PTR CDropbox::ProtoSendMessage(WPARAM wParam, LPARAM lParam)
{
- CCSDATA *pccsd = (CCSDATA*)lParam;
-
- char *message = (char*)pccsd->lParam;
-
- DBEVENTINFO dbei = { sizeof(dbei) };
- dbei.szModule = MODULE;
- dbei.timestamp = time(NULL);
- dbei.eventType = EVENTTYPE_MESSAGE;
- dbei.cbBlob = (int)strlen(message);
- dbei.pBlob = (PBYTE)message;
- dbei.flags = DBEF_SENT | DBEF_UTF;
- db_event_add(pccsd->hContact, &dbei);
+ //CCSDATA *pccsd = (CCSDATA*)lParam;
+
+ //char *message = (char*)pccsd->lParam;
+
+ //DBEVENTINFO dbei = { sizeof(dbei) };
+ //dbei.szModule = MODULE;
+ //dbei.timestamp = time(NULL);
+ //dbei.eventType = EVENTTYPE_MESSAGE;
+ //dbei.cbBlob = strlen(message);
+ //dbei.pBlob = (PBYTE)message;
+ //dbei.flags = DBEF_SENT | DBEF_UTF;
+ //db_event_add(pccsd->hContact, &dbei);
+
+ //if (message[0] && message[0] == '/')
+ //{
+ // // parse commands
+ //}
return 0;
}
|