summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_trouter.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-01 07:59:22 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-01 07:59:22 +0000
commitec4bfdfecf461afb79c7a992d73731c193970456 (patch)
treed8f9352335bf85df95f3089f86b44bfa8e6bbdc5 /protocols/SkypeWeb/src/skype_trouter.cpp
parentae0a384dc2d35285f4d4b907695480f09f177f40 (diff)
SkypeWeb: Small improvements.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_trouter.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index c3233cd60e..c4a8b62932 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -188,7 +188,7 @@ INT_PTR CSkypeProto::OnIncomingCallCLE(WPARAM, LPARAM lParam)
return 0;
}
-INT_PTR CSkypeProto::OnIncomingCallPP(WPARAM, LPARAM hContact)
+INT_PTR CSkypeProto::OnIncomingCallPP(WPARAM wParam, LPARAM hContact)
{
CLISTEVENT *cle = NULL;
while ((cle = (CLISTEVENT*)CallService(MS_CLIST_GETEVENT, hContact, 0)))
@@ -199,6 +199,7 @@ INT_PTR CSkypeProto::OnIncomingCallPP(WPARAM, LPARAM hContact)
break;
}
}
- NotifyEventHooks(m_hCallHook, (WPARAM)cle->hContact, (LPARAM)0);
+ if (wParam == 1)
+ NotifyEventHooks(m_hCallHook, (WPARAM)hContact, (LPARAM)0);
return 0;
} \ No newline at end of file