diff options
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;
}
|