summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_trouter.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-05 17:30:30 +0000
commitb39fed5ae59f261d614fc0a69ebec0c590fcbba2 (patch)
treeb25cb5e23c4bed8a0f466f9aaaa1b3d628eafed3 /protocols/SkypeWeb/src/skype_trouter.cpp
parent9d901160ae14fe289171a24f30e31354e24b63ce (diff)
SkypeWeb:
Writing calls to db rework. Attempt change the icon events (it not work). git-svn-id: http://svn.miranda-ng.org/main/trunk@13446 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_trouter.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index a93188e2b3..adb9ec3df1 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -131,6 +131,7 @@ void CSkypeProto::OnTrouterEvent(JSONNODE *body, JSONNODE *headers)
ptrT displayname(json_as_string(json_get(body, "displayName")));
ptrT cuid(json_as_string(json_get(body, "callerId")));
ptrT uid(json_as_string(json_get(body, "conversationId")));
+ ptrT gp(json_as_string(json_get(body, "gp")));
int evt = json_as_int(json_get(body, "evt"));
switch (evt)
@@ -142,7 +143,7 @@ void CSkypeProto::OnTrouterEvent(JSONNODE *body, JSONNODE *headers)
{
MCONTACT hContact = AddContact(_T2A(uid), true);
- MEVENT hEvent = AddCallToDb(hContact, time(NULL), DBEF_READ, callId);
+ MEVENT hEvent = AddCallToDb(hContact, time(NULL), DBEF_READ, callId, _T2A(gp));
SkinPlaySound("skype_inc_call");
CLISTEVENT cle = { sizeof(cle) };