summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-09 16:18:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-09 16:18:41 +0000
commit7b2f9506ab961f4662ba43cdcc423a4a540643d9 (patch)
tree7e59f3d6392678bc4e95676466181abe3f65e9a7
parent02e63d6102730709b03245466427cd878a2cd5c5 (diff)
we generate ids only for our contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@4612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Skype/src/skype_messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp
index 031f9a0239..31b1b4d03d 100644
--- a/protocols/Skype/src/skype_messages.cpp
+++ b/protocols/Skype/src/skype_messages.cpp
@@ -3,6 +3,8 @@
int CSkypeProto::OnMessagePreCreate(WPARAM, LPARAM lParam)
{
MessageWindowEvent *evt = (MessageWindowEvent *)lParam;
+ if ( strcmp(GetContactProto(evt->hContact), this->m_szModuleName))
+ return 0;
MessageRef message(evt->seq);
SEBinary guid;