diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 07:59:22 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-01 07:59:22 +0000 |
commit | ec4bfdfecf461afb79c7a992d73731c193970456 (patch) | |
tree | d8f9352335bf85df95f3089f86b44bfa8e6bbdc5 /protocols/SkypeWeb/src/skype_trouter.cpp | |
parent | ae0a384dc2d35285f4d4b907695480f09f177f40 (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.cpp | 5 |
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 |