summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-05 11:10:02 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-05 11:10:02 +0000
commit340d879890f5099c21e36fc147d6432a1ac050bf (patch)
tree5fca5e280b39370dba5252d9d4bfb219bd180420 /protocols/SkypeWeb/src/skype_utils.cpp
parentbe6edec91cce66e2b77d22bd0e92a5d60ff92d75 (diff)
SteamWeb:
- fixed logout (patck from MikalaiR) - fixed action (/me) sending - added message duplication filter git-svn-id: http://svn.miranda-ng.org/main/trunk@12604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index 0ec221a7e5..d9c1501b0b 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -5,6 +5,18 @@ bool CSkypeProto::IsOnline()
return m_iStatus > ID_STATUS_OFFLINE && m_hPollingThread;
}
+MEVENT CSkypeProto::AddEventToDb(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob)
+{
+ DBEVENTINFO dbei = { sizeof(dbei) };
+ dbei.szModule = this->m_szModuleName;
+ dbei.timestamp = timestamp;
+ dbei.eventType = type;
+ dbei.cbBlob = cbBlob;
+ dbei.pBlob = pBlob;
+ dbei.flags = flags;
+ return db_event_add(hContact, &dbei);
+}
+
time_t __stdcall CSkypeProto::IsoToUnixTime(const TCHAR *stamp)
{
TCHAR date[9];