diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-28 15:43:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-28 15:43:12 +0000 |
commit | b894583716289087a7144fd770d1a5f96bca82cd (patch) | |
tree | ac384f58ed34c6f4209781d2334bd62641b87e0f /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | dbea29eeae016a4a48b91b954f3a4e93ca4072f7 (diff) |
unused code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@13873 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 65c26869d4..cdb52b4356 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -42,22 +42,6 @@ int CSkypeProto::OnReceiveMessage(const char *messageId, const char *url, time_t return ProtoChainRecvMsg(hContact, &recv);
}
-// writing message/even into db
-int CSkypeProto::SaveMessageToDb(MCONTACT hContact, PROTORECVEVENT *pre)
-{
- //return Proto_RecvMessage(hContact, pre);
- if (pre->szMessage == NULL)
- return NULL;
-
- int flags = DBEF_UTF;
- if ((pre->flags & PREF_CREATEREAD) == PREF_CREATEREAD)
- flags |= DBEF_READ;
- if ((pre->flags & PREF_SENT) == PREF_SENT)
- flags |= DBEF_SENT;
-
- return AddMessageToDb(hContact, pre->timestamp, flags, (char*)pre->pCustomData, pre->szMessage, pre->lParam);
-}
-
/* MESSAGE SENDING */
struct SendMessageParam
|