summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_trouter.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-07-13 17:58:06 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-07-13 17:58:06 +0000
commitceae4e57634e4ff9efe506e3e937006d16f4787f (patch)
treebaaa841c9bd72fce5a295ad29a9cd20784c9f069 /protocols/SkypeWeb/src/skype_trouter.cpp
parenta39bed945be56898d2eee18830ee3060f71b8ccd (diff)
SkypeWeb: big refactoring
git-svn-id: http://svn.miranda-ng.org/main/trunk@14551 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_trouter.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index bc3003336b..ca4931d6e0 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -191,7 +191,7 @@ void CSkypeProto::OnTrouterEvent(const JSONNode &body, const JSONNode &)
{
MCONTACT hContact = AddContact(uid.c_str(), true);
- MEVENT hEvent = AddCallToDb(hContact, time(NULL), DBEF_READ, callId.c_str(), gp.c_str());
+ MEVENT hEvent = AddDbEvent(SKYPE_DB_EVENT_TYPE_INCOMING_CALL, hContact, time(NULL), DBEF_READ, gp.c_str(), callId.c_str());
SkinPlaySound("skype_inc_call");
CLISTEVENT cle = { sizeof(cle) };