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